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