To edit a Restriction
- Right-click on a created property, and do one of the following
- If the created property is not currently assigned with a Restriction, select Concept Modeling > Change to a property restriction only in the scope of class '{}'.
- If the created property is currently assigned with a Restriction with the lower value of multiplicity of 0, select Concept Modeling > Change specification that objects may only be from type '{}'.
- If the created property is currently assigned with a Restriction with the lower value of multiplicity of 1, select Concept Modeling > Change specification that some objects must be from type '{}'.
- If the created property is currently assigned with a Restriction with the lower value of multiplicity of 2 or more, select Concept Modeling > Change specification of multiplicity for type '{}'.
- If the created property is not currently assigned with a Restriction, select Concept Modeling > Change to a property restriction only in the scope of class '{}'.
The Edit the restriction dialog opens. At the Restricted property option, select to open the Select the restricted property dialog.
Note
If you apply the «Restriction» stereotype to a non-restricting property, the Edit the restriction dialog will open automatically.
Tip
You can also select the restricted property from the suggestion list by pressing CTRL + SPACE when selecting the Restricted property option.
- In the Select the restricted property dialog, choose a restricted property and select OK.
- From the Select a restriction type list, select one of the following items
- Select Specify multiplicity for type '{}' for an existential quantification constraint with the lower value of multiplicity of 2 or more.
- Select Specify that some objects must be from type '{}' for an existential quantification constraint with the lower value of multiplicity of 1.
- Select Specify that objects may only be from type '{}' for a universal quantification constraint.
In the Min cardinality and Max cardinality boxes, specify a lower value and higher value of multiplicity.
Note
If you want to create the self Restriction, select the Is Self restriction option.
- Select OK. The Restriction will be edited according to the edited setting.