Define Stereotype Constraints

Defining constraints for stereotypes uses the same procedure as defining constraints for any Class. To define constraints for a stereotype, follow the steps below:

  1. Open the Class Properties dialog of the stereotype element in a diagram.
  2. Click on the Constraints tab and click on the New button to create a new constraint.
     
    stereoconstraint
     
  3. In the Constraint field, type the value of the constraint.
  4. In the Type field, click on the drop-down arrow and select the appropriate type.
  5. In the Status field, click on the drop-down arrow and select the appropriate status.
  6. In the Notes field, type any additional information required.
  7. Click on the Save button, and on the OK button to close the dialog.