Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML 2 ecore and association.navigableOwnedEnd(UML 2 ecore and association.navigableOwnedEnd)
UML 2 ecore and association.navigableOwnedEnd [message #818955] Mon, 12 March 2012 10:11 Go to next message
Fabien Giquel is currently offline Fabien GiquelFriend
Messages: 147
Registered: July 2009
Senior Member
Hi,

I am using uml to ecore converter for initializing some EMF project from one uml model. If i create some uml model with two classes and one bidirectional association between them, i see that :

- if uml properties (roles) are owned by the uml classes, the ecore will define references between classes. That's fine.
- however if uml properties are owned by the uml association in indicating them as "navigableOwnedEnd" on the association, the ecore will not define references between the two classes.

Is this second behavior known and wished for uml2ecore conversion ? Or is that some uml2ecore issue ?

Thanks un advance,
Fabien.


----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
rue Nina Simone
44000 NANTES
----------------------------------------------------
Re: UML 2 ecore and association.navigableOwnedEnd [message #818974 is a reply to message #818955] Mon, 12 March 2012 10:29 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Fabien

I agree that it is surprising, but it is also reasonable.

When the ends are association-owned, the relevant classes have no
corresponding properties, so to create such 'properties' in Ecore (or
EMOF) would be differently surprising.

EMOF/Ecore is not UML and Associations are one of the most fundamental
differences between them.

There are many processing options for the UML2Ecore converter; it is
possible that one of them can be used to influence the above behaviour.

Regards

Ed Willink


On 12/03/2012 10:11, Fabien Giquel wrote:
> Hi,
>
> I am using uml to ecore converter for initializing some EMF project
> from one uml model. If i create some uml model with two classes and
> one bidirectional association between them, i see that :
>
> - if uml properties (roles) are owned by the uml classes, the ecore
> will define references between classes. That's fine.
> - however if uml properties are owned by the uml association in
> indicating them as "navigableOwnedEnd" on the association, the ecore
> will not define references between the two classes.
>
> Is this second behavior known and wished for uml2ecore conversion ? Or
> is that some uml2ecore issue ?
>
> Thanks un advance,
> Fabien.
Previous Topic:Semantic annotations for UML elements
Next Topic:UML2 Product in Bugzilla
Goto Forum:
  


Current Time: Tue Apr 23 16:16:06 GMT 2024

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

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

Back to the top