Sunday, July 8, 2018

UML Properties dialog box (Qualifier Attributes category)

UML Properties dialog box (Qualifier Attributes category)

Use the Qualifier Attributes category to create new qualifier attributes, or edit or duplicate existing ones.

Qualifier Attributes

Lists the existing qualifier attributes.

To quickly edit the most commonly used settings for an attribute, click a field in the Qualifier Attributes list, and then select or type a value.

To access all of the settings for an attribute, select the attribute in the list, and then click Properties.

  • Attribute  Type or edit an identifier string as a name for the attribute. Typically, attribute names begin with a small letter, for example, maximum-size or color.

  • Type  Choose an implementation type for the attribute. If the data type you want isn't listed, right-click a data types package in the tree view, point to New and then click Datatype, or create a new class.

  • Visibility  Choose the visibility (public, private, or protected) that applies to the attribute. Public means the attribute is publicly available to any class. Protected means the attribute is available inside the class and to its subclasses. Private means that the attribute can only be used inside the class.

  • Multiplicity  Choose the possible number of data values that can be held by an instance. If the multiplicity is 1, then the attribute holds exactly one value.

  • Init. Value  Type the value of the attribute upon initialization. Click a different tab at the bottom of the list to view or set inherited attributes.

New

Click to add an undefined attribute to the list of qualifier attributes.

To quickly edit the most commonly used settings for an attribute, click a field in the Qualifier Attributes list, and then select or type a value.

To access all of the settings for an attribute, select the attribute in the list, and then click Properties.

Duplicate

Click to add a new attribute to the list with the same property values as the selected attribute.

Delete

Click to delete the selected attribute from the list.

Move Up/Move Down

After you select a qualifier attribute, click to change the order in which the attribute is stored. You can only reorder within the same classifier.

Properties

After you select a qualifier attribute, click to display three categories that you can use to add property values to define a qualifier attribute: Attribute, Constraints, and Tagged Values.

No comments:

Post a Comment