Showing Java associations as attributes in domain modeling class diagrams
You can show Java™ association
relationships as attributes in Java classifiers
in domain modeling class diagrams.
Before you begin
Procedure
To show a Java association
as an attribute, in the diagram editor, right-click an association
relationship; then click .
Tip: You can also drag an association onto the attribute compartment
of the source of the association or right-click an association connector
and click Delete from Diagram to show the association
as an attribute.