Skip to main content



      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 04:38 Go to next message
Eclipse UserFriend
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 04:49 Go to previous message
Eclipse UserFriend
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: Sun Jun 08 09:49:21 EDT 2025

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

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

Back to the top