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

Prev Next

Attribute Constraints

Attributes can have constraints associated with them, which typically indicate such things as maximum value, minimum value and length of field. You define these constraints within the attribute properties.



Design > Element > Attributes > Constraints

Context Menu

Right-click element in diagram | Features and Properties | Attributes > Constraints   or

Right-click element in Project Browser | Attributes > Constraints

Keyboard Shortcuts

F9 > Alt+T

Define Constraints



See also


Type in the name or action of the constraint.


Click on the drop-down arrow and select the appropriate constraint type.


Type in any comments or notes concerning the constraint.


Click on this button to clear any displayed data from the constraint fields, so that you can define a new constraint.


Click on this button to save any new data in the fields, and to clear the fields in preparation for defining another constraint. The saved constraint is added to the top of list at the bottom of the 'Constraints' tab.


Click on a constraint in the list and click on this button to immediately remove the constraint from the attribute.

Learn more