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

You must have a domain modeling class diagram with Java classifiers open.

About this task

To create an association relationship between Java classifiers, complete the following steps:

Procedure

  1. In the Palette, click Association.
  2. In the diagram editor, click a Java classifier, drag it to another Java classifier, and release the mouse.
  3. In the Create Association wizard, in the Name field, type a name for the new field.
  4. In the Initial Value field, specify the initial value expression.
  5. Under Type and Dimensions, specify dimensions.
  6. Under Visibility, click a visibility style.
  7. Under Modifiers, click modifiers.
  8. Click Finish.

Results

A Java field is created and visually represented as an association relationship in the class diagram.

Feedback