Skip to main content



      Home
Home » Modeling » QVT-OML » objectsOfType problem in Mars release
objectsOfType problem in Mars release [message #1699844] Sat, 27 June 2015 01:49
Eclipse UserFriend
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: Wed Jul 16 14:03:18 EDT 2025

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

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

Back to the top