|
Re: Losing UML assocs converting to ecore [message #628197 is a reply to message #628196] |
Mon, 18 January 2010 16:24 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Mobius,
A bidirectional association generally maps to a pair of EReference
related via their eOpposites. This blog talks about a more general case
http://ed-merks.blogspot.com/2008/01/modeling-associations-w ith-ecore.html
that's not supported yet. It's not really clear why you're having a
problem. Perhaps an example would help.
Mobius wrote:
> Hi there,
>
> I can't find what i want googling, so I'll try the forum.
> If i'm out of order, pease say so.
>
> I'm trying to convert from UML to Ecore in order to use the mapping
> editor. Alas if I do this, the UML associations are lost. I have read
> that this is the way the Ecore metamodel demands it. On the other
> hand, I read that Ecore-UML roundtrip converting is possible. If I
> create a simple ecore model with Ereference and convert it to UML, the
> reference shows up as UML association and the roudtrip also works.
>
> So, how can I convert UML associations to ecore Ereferences?
>
> Thanks in advance,
>
> Mobius
>
> (using latest galileo)
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02782 seconds