Reflexive Relationships

Multiple objects belonging to the same class may have to communicate with one another. This is shown on the class diagram as a reflexive association or aggregation. Role names rather than association names typically are used for reflexive relationships.

CREATING A REFLEXIVE RELATIONSHIP IN RATIONAL ROSE

1.
Select the Association (or Aggregation) icon from the toolbar.
2.
Click on the class and drag the association (or aggregation) line outside the class.
3.
Release the mouse button.
4.
Click and drag the association (or aggregation) line back to the class.
5.
Enter the role names and multiplicity for each end of the reflexive ...

Get Visual Modeling with Rational Rose 2002 and UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.