Wednesday, October 17, 2018

Association Class shape

Association Class shape

Use an association class Association Class shape icon in a static structure diagram to add attributes, operations, and other properties to an association. Drawn as a class attached by a dashed line to an association, an association class is actually a single modeling element. The element has a single name that can appear on the association, in the class, or in both places. The association ends can have the usual adornments.

Name an Association Class shape and add adornments to its ends

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 appear 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.

Hide the attributes or operations sections of an association class

Right-click the shape, click Shape Display Options, and then, under Suppress, check Attributes or Operations.

Control which property values appear on the Association Class shape

Right-click the shape, click Shape Display Options, and then select or clear options to show or hide values.

Create a diagram owned by the association class

Right-click the shape, click Diagrams, click New, choose the type of diagram you want, and then click OK.

Navigate to other views of the association

Right-click the shape, click Views, select the view you want, and then click OK.

No comments:

Post a Comment