|Jos Warmer, Klasse Objecten|
Presentation: UML's Object Constraint Language - OCL
The UML standard includes the Object Constraint Language for precise specification of all types of constraints. It can be used to specify classes and operations, but also for high-level business rules, contracts for components, etc. This presentation shows where the OCL fits within the UML and gives an overview of the potantial advantages of applying it in your specifications.
Tutorial: An introduction to UML's Object Constraint Language
Visual modeling languages are appealing because "a picture tells more than a thousand words". The UML is such a visual language and is well known for its graphical notation and diagramming techniques. However, pictures often only tell half of the story and additional information needs to be captured in a different way. For this reason the UML includes the Object Constraint Language (OCL), a textual language which allows a UML modeler to specify these additional constraints.
This tutorial shows the importance of constraints as an object-oriented modeling technique and how they add value to the visual modeling techniques and help "telling the complete story". The OCL language itself and the connection with the visual UML diagrams is thoroughly explained. The final part of the tutorial will show how one can achieve a good balance between the visual and constraint modeling in UML.
Biography: Jos Warmer is consultant object technology with Klasse Objecten. He started working with objects in 1985 and has mentored many companies in their use of object technology. He is a member of the UML core team at the OMG, and as such responsible for the development of UML's Object Constraint Language. Together with Anneke Kleppe, Jos Warmer is the author of `The Object Constraint Language, precise modeling with UML' (1999), `Praktisch OMT' (1996) and `Praktisch UML' (1999).