Business Constraints
-
Constraints on the
relationships between business concepts that all components must observe.
-
Constraint Example: An Order
is always associated with exactly one Item on an Account
-
Some constraints not easily
represented using UML. In such cases, use Natural language but should be
defined precisely as well.
-
Object Constraint Language (OCL)
- part of UML. Provides a formal approach to define
constraints precisely.
-
Example of OCL :

-
Use OCL constraints to develop
test suites to ensure component compliance with component infrastructure.