Showing associations as attributes

You can show Java™ association relationships as attributes in classifiers in Unified Modeling Language (UML) class diagrams.

To show an association as an attribute, in the diagram editor, right-click an association relationship; then click Filters > Show as Attribute.
The association is removed from the diagram and is added to the source classifier as an attribute.
Tip: You can also drag an association onto the attribute compartment of the source of the association to show the association as an attribute.
Related concepts
Association relationships
Attributes
Related tasks
Showing and hiding relationships
Showing operation signatures of classifiers
Showing parent names of classifiers
Showing Java attributes as associations in UML class diagrams
Showing Java attributes of collection type as associations in UML class diagrams
Changing Java field collection types
Changing Java association collection types
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.