This article was moved to MDriven Wiki – OCL by example
Three videos to de-mystify OCL. A simple model and some expressions working on it for different purposes.
The videos make use of the new OCL editor that has been updated to support code-completion better. It also show case the OCL-debugger that makes it easy to update and navigate data with OCL while you keep on modeling.
Part 2 – here we continue with a FruitBowl
Part 3 – changed requirements – now we must support FruitSalad – to handle fractions of fruit in the bowl