Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

A type of collaboration role, a classifier role Class Role shape icon 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:

display_Window:Windowing System::GraphicWindows::Window

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.

Tip: 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.

Create a UML collaboration diagram

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!