You can add a composite association relationship to a C++
class or data type.
Before you begin
You must be in the C/C++ perspective and have a domain modeling
class diagram open in the diagram editor.
About this task
To create a composite association relationship, complete
the following steps:
Procedure
- 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.