objectsOfType problem in Mars release [message #1699844] |
Sat, 27 June 2015 05:49 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
The new Mars release of QVTo anticipates removal of an inconsistency in
the use of "kind"/"type" between OCL and QVTo.
A new Model::objectsOfKInd method is introduced with the same
functionality as the old objectsOfType; it returns objects of the same
and derived classes. This is consistent with oclIsKindOf.
Unfortunately the new objectsOfType is now consistent with oclIsTypeOf;
it returns only objects of the same type. This is incompatible with
earlier QVTo releases and may lead to your transformations malfunctioning.
Workaround pending a resolution of [1]; recode you objectsOfType calls
as objectsOfKind.
Apologies for the inconvenience.
Regards
Ed Willink
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=471170
|
|
|
Powered by
FUDForum. Page generated in 0.02636 seconds