You can show Java attributes,
or fields, as association relationships in domain modeling class diagrams.
Before you begin
You must have a class diagram open.
About this task
To show a Java attribute as an association
in a domain modeling class diagram, in the diagram editor, right-click
an attribute; then click .
Results
The attribute is removed from the classifier and displayed
as an association relationship.
What to do next
Tip: You can also drag an attribute outside the
classifier to show the attribute as an association.