You can show or hide the existing relationships between Java classifiers in domain modeling class diagrams
for visual representation and development of applications.
About this task
You can change Java field
and association collection types to show attributes as associations
or show associations as attributes. By default, Java attributes
are shown as associations in domain modeling class diagrams. For example,
if an attribute type is a collection, it is shown as an association
to the collection type (vector) in a class diagram. In most cases,
this might not be useful. Therefore, it is useful to show the type
that the collection contains.