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.

Tip:

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

Set Constraints on a Connector

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

  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.
     
    connectorconstraints
     

Option

Use to

Constraint

Type in the name of the constraint.

Type

Specify the type of constraint (such as pre-condition).

Notes

Type in any notes about the connector.

Defined Constraints

Review the list of constraints for this connector.