Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » objectsOfType problem in Mars release
objectsOfType problem in Mars release [message #1699844] Sat, 27 June 2015 05:49
Ed Willink is currently offline Ed WillinkFriend
Messages: 5462
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
Previous Topic:Run qvto transformation
Next Topic:[QVTo] Mapping that needs to modify initial Model
Goto Forum:
  


Current Time: Fri Nov 17 19:42:47 GMT 2017

Powered by FUDForum. Page generated in 0.01573 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software