Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » ecore2ecore(mapping of an enum class)
ecore2ecore [message #533889] Mon, 17 May 2010 12:05 Go to next message
tina is currently offline tinaFriend
Messages: 2
Registered: July 2009
Junior Member
Hi!

I have an ecore2ecore file where an enum-class has changed literals, but I cannot make mappings that works. Is it possible to do a mapping and how am I supposed to do it?

Regards
Tina
Re: ecore2ecore [message #533908 is a reply to message #533889] Mon, 17 May 2010 12:44 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Tina,

Yes, I don't think the EcoreXML stuff handle's that case. You could
specialize the XyzFactoryImpl.createAbcFromString to convert older
literal strings to their new appropriate value.


tina wrote:
> Hi!
>
> I have an ecore2ecore file where an enum-class has changed literals,
> but I cannot make mappings that works. Is it possible to do a mapping
> and how am I supposed to do it?
>
> Regards
> Tina


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Synchronize file resource with memory resource
Next Topic:Alternative pattern for getter and more suppress features
Goto Forum:
  


Current Time: Fri Apr 19 20:20:37 GMT 2024

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

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

Back to the top