- changed status to resolved
OCL for ImplementationClass#getName called for enums as well
Issue #96
resolved
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)
-
reporter - Log in to comment
Resolved issue
#96: Removed OCL definition of getName for ImplementationClass.→ <<cset 0a85538bac69>>