Object Constraint Language

Also found in: Acronyms, Wikipedia.

Object Constraint Language

(OCL) 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.


Rational UML Resource Center.

OCL 2.0 Submission to UML.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
Mentioned in ?
References in periodicals archive ?
[10.] Object Management Group, Object Constraint Language Specification Version 2.0, 2006.
The areas are Diagram Interchange, Object Constraint Language (OCL), Infrastructure, and Superstructure.
The Object Constraint Language: Precise Modeling with UML.