You can add a composite association relationship to a C++ class
or data type.
You must be in the C/C++ perspective and have a class diagram open
in the diagram editor.
To creat a composite association relationship in a C/C++ class diagram:
- In the Palette, click Composite Association.
- In the diagram editor, click a C/C++ class or data type and drag
the cursor to another C/C++ class or data type.
- In the Create C/C++ Composite Association wizard,
in the Type field, specify a type. This
field is unavailable if you create an association to a C++ type that is not
a template type.
- In the Name field, type a name for the new
field.
- In the Access visibility field, specify
a visibility type.
- If the association is a static type, select the static check
box.
- If the association can be modified, select the mutable check
box.
- Click Finish.