Talk:Object Constraint Language

From Wikipedia, the free encyclopedia

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.

Is it widely used?10:06, 2 January 2007 (UTC)

No and Yes. OCL is used in the writing of the UML specification. If you wish to implement a UML tool or truly understand the specification (for certification at the highest level), you'll need to understand the OCL.

Simple forms of OCL is used in many modelers to write constraints on diagrams, and OCL in this level is used in serveral UML books.

A handful of UML tools and add-ons understand the basics of OCL

On the other hand, with a limited OCL audience, it's generally preferred to write constraints based on the understanding level of the audience. While I like OCL, I would only use formal OCL for an audience of the other methdologists, leaving natural language and basic OCL for customers and programmers. Mjchonoles 20:50, 2 January 2007 (UTC)


In several Web places there is a suggestion that OCL can be used as an object-oriented query language to object-oriented databases, similarly to SQL (for relational databases). Are such suggestions justified? Till now I have seen only limited implementation of OCL in Bold for Delphi. Any query language has no chances without query optimization. Does anybody started the research in this direction and where I can see the results? 9:08 AM, January 25,2007, Kaz