![Sybase Powerdesigner 7.5 Скачать руководство пользователя страница 112](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512112.webp)
Defining associations
102
Visibility
The visibility of an association refers to the way in which it can be seen by
other objects. An association that is visible to another object may influence
the structure or behavior of the object, or similarly, its own properties may be
affected by the other object.
Property
Visible
Private
Only to the association itself
Protected
Only to the association and its inherited objects
Package
To all objects contained within the same package
Public
To all objects
Aggregation/composition of an Association
You can define one of the roles of an association as being either an
aggregation or a composition in the Aggregation/composition group box.
Property
Description
Aggregation
An form of association that specifies the relationship between two
classes of the same level
Composition
A form of aggregation of an association in which the class attached
to the association role may be a part of only one composite at a time
Container
Specifies which of the two roles is an aggregation or a composition
Indicator
Indicates that the association is an aggregation or a composition
Changing an association into an associative class
You can transform an association into an associative class linked by two
associations. Next, you can attach class attributes to this associative class,
that you could not attach to the association.
The associative class gets the name and code of the association. You can
define cardinality properties for each of the two associations created between
the new class and the two existing classes.
v
To change an association into an associative class:
1
Right-click an association.
Содержание Powerdesigner 7.5
Страница 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Страница 8: ...viii...
Страница 22: ...Defining OOM properties 12...
Страница 97: ...Chapter 2 Building an Object Oriented Model 87 4 Modify the operation display preferences 5 Click OK...
Страница 144: ...Defining check parameters 134...
Страница 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Страница 210: ...Customizing scripts 200...
Страница 224: ...Generating a CDM from an OOM 214...
Страница 238: ...Generating a PDM from an OOM 228...
Страница 260: ...Object language editor categories 250...
Страница 268: ...Applying business rules to objects 258...
Страница 288: ...278...