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 20:38 Go to next message
chuck  is currently offline chuck Friend
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 08:16 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 523
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: Fri Nov 21 02:45:28 GMT 2014

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

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