What is Object Constraint Language (OCL)?
Answers were Sorted based on User's Feedback
Answer / guest
The 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. Initially OCL was
only a formal specification language extension to UML. OCL
may now be used with any Meta-Object Facility OMG
metamodel, including UML. The Object Constraint Language is
a precise text language that provides constraint and object
query expressions on any Meta-Object Facility model or
metamodel that cannot otherwise be expressed by
diagrammatic notation. OCL is a key component of the new
OMG standard recommendation for transforming models, the
QVT specification.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / recho
The Object Constraint Language - the OCL is used to specify
constraints on objects in the UML.
Definition
A constraint is a restriction on one or more values of (part
of) an object oriented model or system
| Is This Answer Correct ? | 1 Yes | 1 No |
What are the different views that have to be considered before the buildup of an object oriented software system?
What are the advantages of creating a model?
What factors you will consider before starting uml designs?
What is UML and its advantages?
What is elaboration?
In the unified process, during which phases is requirement analysis mainly carried out?
what is difference between Extend and Include with example?
How do you represent static members and abstract classes in Class Diagram?
Why can't I easily interchange uml models between modeling tools?
What is a Persistent, Transient Object?
7 Answers Ora Tech, Syscon, TCS,
How to reverse engineer C++ code in UML?
What is modeling? What are the advantages of creating a model?