Constraint dialog box

 

Constraints

A constraint expresses a semantic restriction on an element or a set of elements being modeled.  A constraint appears in the form of more or less formal text, which can be interpreted by a programming language.

 

The "Constraint" dialog box contains four tabs - "Properties", "Notes", "Tagged values" and "Stereotypes".  For information on these standard dialog box tabs, please see "Standard dialog box tabs".

 

 

The "Properties" tab of the "Constraint" dialog box

The "Properties" tab of the "Constraint" dialog box is used to define constraint values.

 

The "Properties" tab of the "Constraint" dialog box

 

Key:

·         "Name": This field presents the name of the constraint. 

·         "Body": This field is used to specify the body of the constraint, where its expression has not been reduced to a token or a symbol.