The document discusses the Object Constraint Language (OCL), including its types, collections, navigation in UML models, examples of expressions, and context specification. It provides examples of using OCL to specify constraints and pre/post-conditions for operations. Key types include Integer, Real, Boolean, String, Enumeration, and OclAny. Collections include Set, Bag, and Sequence, with associated operations. Context and invariants can constrain classes and associations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
482 views23 pages
Limbajul OCL: Object Constraint Language
The document discusses the Object Constraint Language (OCL), including its types, collections, navigation in UML models, examples of expressions, and context specification. It provides examples of using OCL to specify constraints and pre/post-conditions for operations. Key types include Integer, Real, Boolean, String, Enumeration, and OclAny. Collections include Set, Bag, and Sequence, with associated operations. Context and invariants can constrain classes and associations.