Show: Delphi C++
Display Preferences

Creating an Association Class

From RAD Studio
Jump to: navigation, search

Go Up to Class Diagram Procedures

You can add or delete association classes.

To create an association class

  1. Open a class diagram.
  2. On the class diagram Tool Palette, click Association Class.
  3. Click the diagram background. This adds a regular class icon for the association class, connected with the diamond icon.
  4. Create participant classes.
  5. Using the association end button, connect the n-ary association with the participant classes.
Result: The source code of an association class contains appropriate tags for the association class itself and for each of the association end classes.

To delete an association class

  1. On a class diagram, right-click an association end link, association class, or connector.
  2. Choose Delete or Delete from View on the context menu.
Result: The whole association class construct is deleted from the diagram.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance