Sybase 7.5 Water System User Manual


 
Chapter 2 Building an Object-Oriented Model
51
Multiplicity
The cardinality of each of an attribute is called the multiplicity.
Cardinality Number of instances in relation
0..0 None
0..1 None or one
0..* None to infinity
1..1 One to one
1..* One to infinity
* Infinity
You can change the default format of cardinalities from the registry:
HKEY_CURRENT_USER\Software\Sybase\PowerDesigner
7\ModelOptions\Cld
MultiplicityNotation = 1 (0..1) or 2 (0,1)
Creating an attribute
There are three ways to create an attribute:
Create an attribute symbol in the Browser
Add a new attribute to the list of attributes
Create an attribute from a class in a diagram
Creating an attribute from the Browser
v To create an attribute from the Browser:
1 Right-click the Attributes category in the Browser.
2 Select New from the contextual menu.