Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » refining mode and move eattribute
refining mode and move eattribute [message #715412] Sat, 13 August 2011 16:38 Go to next message
chuck  is currently offline chuck
Messages: 160
Registered: July 2010
Senior Member
i'm triying to write a rule that move an eattribute to another eclass...i'm working on Ecore metamodel ... trying yo change eContainingClass to the Eattribute and also setting the eStructuralFeatures to the class... what's wrong?
Re: refining mode and move eattribute [message #716010 is a reply to message #715412] Tue, 16 August 2011 04:16 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 522
Registered: July 2009
Senior Member
The eContainingClass feature is not changeable but when there are eOpposites you just need to modify one of the feature and not the both so if you only change the eStructuralFeatures reference, the eContainingClass will be automatically changed.
Previous Topic:Problem with input files outside the workspace
Next Topic:[ATL] Feature does not exist in refining mode
Goto Forum:
  


Current Time: Wed Jul 30 01:05:20 EDT 2014

Powered by FUDForum. Page generated in 0.33928 seconds