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 ...
Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.