Defining default Java collection types

You can define default Java™ collection types by adding them to the Java to UML mapping preferences.

To define a default Java collection type:
  1. Click Window > Preferences.
  2. In the Preferences window, expand Modeling and click Java to UML Mapping.
  3. On the Java to UML Mapping page, click New.
  4. In the Select Java Type window, from the Matching types list, select a class or an interface, and from the Qualifier list, select the qualifier for the collection type, and click OK.
  5. Click Apply and click OK.
Related concepts
Attributes
Operations
Related tasks
Setting the default for showing parent names
Setting the default for showing operation signatures
Changing the default for showing attribute and operation compartments
Changing the default visibility style for attributes and operations
Customizing the default Java types to be shown or filtered out in diagrams
Changing Java field collection types
Changing Java association collection types
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.