Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Copying model elements - reference problem
[ATL] Copying model elements - reference problem [message #104017] Fri, 24 April 2009 08:38 Go to next message
Marcel  is currently offline Marcel Friend
Messages: 54
Registered: July 2009
Member
Hello,

I am working on a model transformation that has the same metamodel as in
and as output. I am not using refining mode.
When I copy a model element that has an attribute referring to another
model element (oppositeOf), I don't copy these attributes from the
original. Instead they are set in the (lazy) rule transforming the model
element referred to.
In the output model, the copied element has two references, the old one
and the new one. I only want the new one.

What am I doing wrong?

Thanks,

Marcel
Re: [ATL] Copying model elements - reference problem (solved) [message #104039 is a reply to message #104017] Fri, 24 April 2009 08:49 Go to previous message
Marcel  is currently offline Marcel Friend
Messages: 54
Registered: July 2009
Member
I made a dumb mistake. There was another rule, which still copied the
entire element. Sorry for wasting your time.
Previous Topic:[ATL] Register ATL metamodel in EMF Registry
Next Topic:[ATL] ecore editor
Goto Forum:
  


Current Time: Wed Jan 15 09:38:22 GMT 2025

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

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

Back to the top