Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Remove object in place transformation
Remove object in place transformation [message #1861672] Thu, 26 October 2023 14:20 Go to next message
Klarise Hund is currently offline Klarise HundFriend
Messages: 14
Registered: October 2022
Junior Member
Hi,

I have been trying to remove and object in an in place transformation in. QVTo but apparently there is not an expression that can directly do that. Any workarounds? thanks!
Re: Remove object in place transformation [message #1861679 is a reply to message #1861672] Fri, 27 October 2023 07:32 Go to previous messageGo to next message
Klarise Hund is currently offline Klarise HundFriend
Messages: 14
Registered: October 2022
Junior Member
I addressed this be using the excluding() operation and returning the new set of elements excluding the one I wanted to remove. Not sure if it is the best way, but it seems to work :)
Re: Remove object in place transformation [message #1861798 is a reply to message #1861679] Sat, 04 November 2023 09:43 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7635
Registered: July 2009
Senior Member
In truly declaration transformations there is no delete; just a deliberate failure to create/copy.

I tend to think of QVTo as semi-declarative. In this case the don't create/copy approach is applicable and so excluding from a copy is a sensible approach.
Previous Topic:Create QVTo project programmatically
Goto Forum:
  


Current Time: Sat Nov 11 05:57:04 GMT 2023

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

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

Back to the top