OCL for ImplementationClass#getName called for enums as well

Issue #96 resolved
Matthias Schoettle created an issue

getName for ImplementationClass is defined to take the last part of the instanceClassName attribute (after the period) to be consistent.

However, since REnum is a PrimitiveType, which is a ImplementationClass, it will get called. In Java this doesn't happen, because there is no multi-hierarchy.

It's probably best to not define getName and make sure it is always consistent when one of the too attributes is specified.

Comments (1)

  1. Log in to comment