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...

Pin It on Pinterest