After the Constraint element is created, you must apply the following stereotypes:

  • «invariant» stereotype. It separates Constraint from the other types of Constraints.

  • «validationRule» stereotype. It is derived from «invariant » stereotype. It expands the Constraint properties with the ability to specify the following information: severity level (for sorting/filtering), abbreviation string (a short string, for easy recognition) and error message (complete description of error explanation). How to specify the validation rules properties >>