What is Object Constraint Language (OCL)?

Answers were Sorted based on User's Feedback



What is Object Constraint Language (OCL)?..

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

What is Object Constraint Language (OCL)?..

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

Post New Answer

More UML Interview Questions

What is unified modeling language (uml)?

0 Answers  


What is the function of attribute facets in uml?

0 Answers  


What are the different approaches to store knowledge?

0 Answers  


What are the elements which are used in activity diagrams?

0 Answers  


What shall I go for Package Diagram?

0 Answers  


Explain the different elements of a Use Case?

0 Answers  


What are the phases of the object-oriented development lifecycle?

2 Answers  


Explain about composition?

0 Answers  


Does a concept HAVE to become a class in Design?

1 Answers  


What is association?

3 Answers   TCS,


What is a uml use case diagram (ucd), and when should you use it?

0 Answers  


What is state machine diagram in UML?

0 Answers  


Categories