Creating association relationships between Java classifiers in domain modeling class diagrams
You can use domain modeling class diagrams to create association
relationships between Java™ classifiers to visually represent Java™ fields, or attributes, as associations.
That is, you create Java fields
and place them outside of classifiers as associations in class diagrams.
Before you begin
Procedure
- In the Palette, click Association.
- In the diagram editor, click a Java classifier, drag it to another Java classifier, and release the mouse.
- In the Create Association wizard, in the Name field, type a name for the new field.
- In the Initial Value field, specify the initial value expression.
- Under Type and Dimensions, specify dimensions.
- Under Visibility, click a visibility style.
- Under Modifiers, click modifiers.
- Click Finish.