Object Constraint Language
|
Object Constraint Language is a declarative language for describing rules that apply to UML models developed at IBM and now part of the UML standard.
A formal specification language extension to UML. The Object Constraint Language is a precise text language that provides constraint and object query expressions on an object-oriented model that cannot otherwise be expressed by diagrammatic notation.
OCL supplements UML by providing expressions that have neither the ambiguities of natural language nor the inherent difficulty of using complex mathematics.
OCL is a descendent of Syntropy, a second-generation object-oriented analysis and design method. The OCL 1.4 definition specified a constraint language. In OCL 2.0, the definition has been extended to include general object query language definitions.
External links
- An OCL tutorial (http://www.parlezuml.com/) aimed at .NET developers
- The UML specification (http://www.omg.org/technology/documents/modeling_spec_catalog.htm#UML) (including OCL)
es:Lenguaje de especificación OCL2.0 de:Object Constraint Language
- This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.