OCL for RCollection#getName not compatible with Eclipse Kepler

Issue #13 resolved
Matthias Schoettle created an issue

Calling getName on an RCollection throws an exception due to an incompatible OCL implementation of it.

self.oclType().toString().substring(12, ...) is called at some point.

In Juno the output for self.oclType.toString() is "2.1:🐏:RSet", whereas in Kepler it is "ram::RSet".

Calling self.oclType.name (= "RSet") doesn't work in the editor of Juno, though.

Either make compatible for Kepler only or implement it in such a way that it is compatible with both (see alternative String methods in Eclipse help).

Comments (2)

  1. Log in to comment