Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] metamodel element direct copy source to target
[ATL] metamodel element direct copy source to target [message #636315] Sat, 30 October 2010 19:30 Go to next message
gil  is currently offline gil Friend
Messages: 4
Registered: October 2010
Junior Member
Hi everybody,

I'm working on an eclipse plugin using ATL.

In input i have a metamodel A, in output i have a metamodel B which references A.

I have to transform only some elements of the source model
and to keep several elements as they are.

I would like to know if there is a simple way (shortcut...) to copy directly an element from A to an element from B (same class) ?

Thank you,
Gil.
Re: [ATL] metamodel element direct copy source to target [message #636356 is a reply to message #636315] Sun, 31 October 2010 11:33 Go to previous message
gil  is currently offline gil Friend
Messages: 4
Registered: October 2010
Junior Member
I find in ATL documentation the use of 'refining mode'.

My question is if the source model is conformed to metamodel A and the target model must be conformed to the metamodel B (which references A).

Can i use something like this:

create OUT : B refining IN : B;


Thanks,
Gil.
Previous Topic:[QVTo] Use of extended metamodels in transformations
Next Topic:[ATL] Run transformation sequence with HOT programmatically
Goto Forum:
  


Current Time: Sun Jun 16 22:58:52 GMT 2019

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

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

Back to the top