Creating composite associations between C/C++ elements in domain modeling class diagrams

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

  1. In the Palette, click Composite Association.
  2. In the diagram editor, click a C/C++ class or data type and drag the cursor to another C/C++ class or data type.
  3. 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.
  4. In the Name field, type a name for the new field.
  5. In the Access visibility field, specify a visibility type.
  6. If the association is a static type, select the static check box.
  7. If the association can be modified, select the mutable check box.
  8. Click Finish.

Feedback