Changing Java field collection types

You can change collection types of Java™ fields in class diagrams.

You can change the collection type of a Java field only when its declared type is one of the default collection types set in the Java to UML Mapping preferences.
To change a Java field collection type:
  1. In the diagram editor, right-click an attribute of a Java class or interface; then click Edit > Change Collection Type.
  2. In the Select Type window, click a collection type and click OK.
Related concepts
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
Showing associations as attributes
Changing Java association collection types
Defining default Java collection types
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.