Skip to main content

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: 7482
Registered: July 2009
Senior Member

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.


Ed Willink

Previous Topic:Run qvto transformation
Next Topic:[QVTo] Mapping that needs to modify initial Model
Goto Forum:

Current Time: Sun Jun 26 01:49:07 GMT 2022

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

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

Back to the top