Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [uml2-dev] losing all relationship when converting uml2 model to ecore model

Thanks James,
This is confusing to me though? Then how do we construct ecore model from
UML? There is a UML importer besides annotated java, xsd, even rose
class diagram. how does it generates  EReference then?  It seems to be conceptually natural to convert association to EReference.

Cheers,
Derek

On Fri, Aug 21, 2009 at 10:34 PM, James Bruck <jbruck@xxxxxxxxxx> wrote:

Hi Derek,

Ecore does not support associations as in UML.   The behavior you are describing is not a bug, it's simply how Ecore works.

Regards,
- James.



zzz good <zzzisgood@xxxxxxxxx>
Sent by: uml2-dev-bounces@xxxxxxxxxxx

08/21/2009 04:02 AM

Please respond to
"This mailing list is used to discuss the development issues for the        UML2 project. " <uml2-dev@xxxxxxxxxxx>

To
uml2-dev@xxxxxxxxxxx
cc
Subject
[uml2-dev] losing all relationship when converting uml2 model to        ecore model





Hi there,

I came across this problem when I tried to convert a simple UML class diagram to ecore model, all the relationship get lost in the generated ecore model, only classes and their attributes are reserved. I am using the latest eclipse 3.5 modeling EPP, Eclipse Modeling Tools, Build id: 20090619-0625 , which has UML2  tool 0.9,
This is what I did:
create a UML2 class diagram, add package, classes, attribute and association to it, choose the package in the UML editor, select "UML Editor" > Convert to > Ecore model, it generated a ecore model, open it with ecore editor, all classes and attributes are there, but no association.

Did I miss anything? Can someone help please?

Cheers,
Derek
_______________________________________________
uml2-dev mailing list
uml2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/uml2-dev


_______________________________________________
uml2-dev mailing list
uml2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/uml2-dev



Back to the top