Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
constraint
A semantic condition or restriction represented as text in natural language or a specified formal language.
Semantics
A constraint is a semantic condition or restriction expressed as a linguistic statement in some textual language.
In general, a constraint can be attached to any model element or list of model elements. It represents semantic information attached to a model element, not just to a view of it. Each constraint has a body and a language of interpretation. The body is a string encoding a Boolean expression for the condition in the constraint language. A constraint applies to an ordered list of one or more model elements. Note that the specification language may be a formal language or it may be a natural language. In the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access