Towards an IDE for OCL

Towards an IDE for OCL

Dresden OCL has been around for more than 10 years but has never been featured in this portal which is a shame. To fix this, I contacted Claas Wilke and Birgit Demuth and ask them to write a brief introduction to Dresden OCL for the portal readers. Hope you enjoy it...
GetType function for OCL?

GetType function for OCL?

A colleague asked me if OCL had a getType function in the standard library that could be used to get the type of an object. The answer, AFAIK, is no. There are the oclIsKindOf(Type) and oclIsTypeOf(Type) functions to test whether an object is instance of a given type...
Lightweight String Reasoning for OCL

Lightweight String Reasoning for OCL

Most domain models include a number of constraints which frequently deal with text data (e.g. checking the right format of a telephone field or checking the uniqueness of a street+city name). As all constraints, we may make mistakes when defining them and end up with...

Pin It on Pinterest