Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
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
Context Menu |
Right-click on Connector | Properties > Constraints |
Other |
Double-click on Connector > Constraints |
Set constraints on a connector
Option |
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. You can insert line breaks in the text by pressing . |
|
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