Changing Java association collection types

In UML visualization, you can change collection types of Java associations (association relationships in class diagrams).

You can change the collection type of an association only when the association represents a Java field whose declared type is one of the default collection types set in the Java to UMP Mapping preferences.

To change a Java association collection type:

  1. In the diagram editor, right-click an association relationship; then click Edit > Change Collection Type.

  2. In the Select Type window, click a collection type and click OK.

 

Parent topic

Managing relationships between Java elements

 

Related tasks

Showing and hiding relationships
Showing operation signatures of classifiers
Showing parent names of classifiers
Changing Java field collection types
Defining default Java collection types