You can show Java association
relationships as attributes in Java classifiers
in domain modeling class diagrams.
Before you begin
You must have a domain modeling class diagram open.
About this task
To show a Java association as an attribute,
in the diagram editor, right-click an association relationship; then
click .
Results
The association is removed from the diagram and is added to
the source classifier as an attribute.
What to do next
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.