How to use the Dresden OCL2 Toolkit
Here you can find a few usage examples to learn, how to work with
the Dresden OCL2 Toolkit. Attention: These examples use the Dresden OCL2
Toolkit Release 1.2 which is outdated by now.
How to use the Dresden OCL Toolkit
Attention: This example uses the Dresden OCL1
Toolkit Release 1.1 which is outdated by now.
- The Royals and Loyals
model
The model presented here is taken (with some modifications) from the
book "The Object Constraint Language: Precise Modeling With UML" by J.
Warmer and A. Kleppe, where it serves as a showcase for the use of OCL
constraints. It has been implemented in Java to demonstrate the
abilities of the Dresden OCL Toolkit.