Classe "Constraint"

Description

Propriétaire : Méta-modèle UML simplifié

Constraints can express restrictions and relationships that cannot be expressed using UML notation. They are particularly useful for stating global conditions or conditions that affect a number of elements. It can have predefined names, and can as well represent Pre-conditions, post-conditions and invariants (pre-defined stereotypes). The language specific modules (C++, Java) will add a specific stereotype for the pre, post conditions and invariant expressed in these language, such as for example “C++Invariant", or “JavaPreCondition". Under Objecteering, a Constraint is not composed by anything. It is onlymanaged by specific copy/transfer rules.

A constraint is a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an element.

Stéréotype : "UML"

Classes parentes :

Diagrammes de classes : Associations : Attributs :