OCL Expressions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The '''Object Constraint Language (OCL)''' is a [[wikipedia:Declarative_programming|declarative language]] for describing rules that apply to [[UML School|Unified Modeling Language (UML)]] models developed at IBM and is now a part of the UML standard. | The '''Object Constraint Language (OCL)''' is a [[wikipedia:Declarative_programming|declarative language]] for describing rules that apply to [[UML School|Unified Modeling Language (UML)]] models developed at IBM and is now a part of the UML standard. | ||
* Initially, OCL was only a formal specification language extension to UML, but it may now be used with any Meta-Object Facility (MOF) and Object Management Group (OMG) meta-model, including UML.[2] | |||
Initially, OCL was only a formal specification language extension to UML, but it may now be used with any Meta-Object Facility (MOF) and Object Management Group (OMG) meta-model, including UML.[2] | * OCL is a precise text language that provides constraint and object query expressions on any MOF model or meta-model that cannot otherwise be expressed by diagrammatic notation. OCL is a key component of the new OMG standard recommendation for transforming models, the Queries/Views/Transformations (QVT) specification. | ||
OCL is a precise text language that provides constraint and object query expressions on any MOF model or meta-model that cannot otherwise be expressed by diagrammatic notation. OCL is a key component of the new OMG standard recommendation for transforming models, the Queries/Views/Transformations (QVT) specification. | |||
==== [[Part 1 OCL Common Expressions]] ==== | ==== [[Part 1 OCL Common Expressions]] ==== | ||
Line 12: | Line 10: | ||
[[Category:OCL]] | [[Category:OCL]] | ||
[[Category:Beginner]] | [[Category:Beginner]] | ||
[[Category:The MDriven Book]] |
Revision as of 06:11, 13 June 2023
The Object Constraint Language (OCL) is a declarative language for describing rules that apply to Unified Modeling Language (UML) models developed at IBM and is now a part of the UML standard.
- Initially, OCL was only a formal specification language extension to UML, but it may now be used with any Meta-Object Facility (MOF) and Object Management Group (OMG) meta-model, including UML.[2]
- OCL is a precise text language that provides constraint and object query expressions on any MOF model or meta-model that cannot otherwise be expressed by diagrammatic notation. OCL is a key component of the new OMG standard recommendation for transforming models, the Queries/Views/Transformations (QVT) specification.
Part 1 OCL Common Expressions
Part 2 OCL: Operators
Part 3 OCL: Derivation Properties
This page was edited 28 days ago on 08/22/2024. What links here