Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Constraint Types

In an element 'Properties' definition, each constraint on the element is defined by type in the 'Constraint' field. You can select the appropriate value from a drop-down list, which initially contains the system values:

  • Invariant
  • Post-condition
  • Pre-condition
  • Process and
  • OCL

You can add to or replace any of these values with your own custom values.

Access Project | Settings | Project Types | General Types > Constraint

Customize Constraint Types



See also


Type the name of the constraint to define.


Type a brief description of the constraint.


Type any further details concerning the constraint.


Clear the fields to define a new constraint.


Save the constraint definition and add it to the Defined Constraint Types list.


Remove the currently selected constraint from the Defined Constraint Types list.

Defined Constraint Types

Lists the currently-defined constraint types and their descriptions.


  • You can transport customized constraint types between models, using the 'Export Reference Data' and 'Import Reference Data' menu options

Learn more