A type of collaboration role, a classifier role is a slot for an object in a collaboration diagram. It is represented by the class rectangle symbol with only the name compartment showing. The name compartment contains the string:
classRoleName : Classifiername
and can include a full path of enclosing packages where necessary, for example:
You can also show a stereotype for the class, creation/destruction markers, and a multiplicity indicator. To represent a set of objects on the ''many'' end of an association, you can use a multi-object. In the context of collaboration diagrams, classifier roles are often referred to as objects.
Name a Classifier Role shape and add other property values
Open the element's UML Properties dialog box by double-clicking the icon that represents the element in the tree view or the shape that represents the element in a diagram.
Control which property values display on a shape in a diagram by right-clicking the shape, and then clicking Shape Display Options. In the UML Shape Display Options dialog box, select and clear options to display or hide property values.
Control which property values are displayed on the Classifier Role shape
Right-click the shape, click Shape Display Options, and then select or clear options to show or hide values.
Hide the class name for the class with which the Classifier Role shape is associated
Right-click the Classifier Role shape, click Shape Display Options, and then clear Classifier Name.