Creating classifier roles

A classifier role can be an instance of an existing class, a new class that you create in the collaboration diagram, meaning that it is not a realization of a class. This could be useful if you create collaboration diagrams at the high-level analysis stage of system design.

Procedure

  1. Click the Object button Object button.
  2. Click-and-drag to create the classifier role.
  3. You can type the classifier role name in the drawing or right-click the object to display the Features window and type the name and additional information.
  4. Click OK.

Results

By default, a new classifier role has an <Unspecified> Realization value. To make it an instance of a <New > or existing package, use the drop-down list in the Features window. See Modifying the features of a classifier role more information.


Feedback