Connector Constraints

A UML connector can also have associated constraints placed on it. Constraints tell us something about the rules and conditions under which a relation 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.

How to:

To set constraints on a connector, follow the steps below:

Step

Action

See also

1

Double-click on a connector to open the Connector Properties dialog

 

2

Select the Constraints tab

 

3

Fill in details of the constraint(s) that apply and click on the Save button

 

Reference:

Field

Usage

See also

Constraint

The name of the constraint

 

Type

Specifies the type of constraint (such as pre-condition)

 

Notes

Indicates notes on the connector

 

Defined Constraints

Displays the list of constraints for this connector

 

Notes:

  • Constraints about an Association (connector) can be added to further refine the model; constraints detail the business and operational rules for the model