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

Connector Constraints

A UML connector can also have associated constraints placed on it. Constraints provide information on the rules and conditions under which a relationship operates. For example, it might be a pre-condition that a customer is of a certain type before an Association connector to an Account is allowed.

Access     On diagram | Double-click on connector > Constraints or
On diagram | Right-click connector | Properties > Constraints

Set constraints on a connector

Field/Button/Action

Action

See also

Constraint

Type the name of the constraint.

 

 

Type

Click on the drop-down arrow and select the appropriate type of the constraint (such as Pre-condition).

 

 

Notes

Type any explanatory notes you might require on the constraint.

 

 

Save

Click on this button to save the constraint definition.

The constraint is added to the Defined Constraints list.

 

 

New

Click on this button to clear the dialog fields so that you can enter details of a new constraint.

 

 

Defined Constraints

Displays a list of the constraints defined for this connector.

 

 

Delete

Click on this button to delete a constraint you have selected in the Defined Constraints list.

The constraint is immediately removed from the list.

 

 

Notes

·Constraints on an Association connector can be added to further refine the model; constraints detail the business and operational rules for the model