|
|
|
Re: Associations lost when converting from UML [message #420714 is a reply to message #420712] |
Tue, 08 July 2008 15:13 |
Barbara Rosi-Schwartz Messages: 448 Registered: July 2009 |
Senior Member |
|
|
On 2008-07-08 15:43:27 +0100, Felix Dorner <felix_do@web.de> said:
>
>>
>> Barbara Rosi-Schwartz wrote:
>>> Hi everyone.
>>>
>>> I have a UML model that I created with Eclipse's UML2. When I try to
>>> convert it to an EMF model, everything is loaded correctly (apart from
>>> a few warnings that are alien to my model) except for the associations.
>>> The associations are compositions or aggregations. I also have a couple
>>> of generalisations and those are converted fine.
>>>
>>> Any idea?
>
> Who owns the Association Ends?
Hi Felix and thanks for the speedy reply.
Since the associations are unidirectional, I believe one should belong
to the end type and the other to the association itself.
However I created the model with the graphical editor, as opposed to
filling in properties, and when I look at the corresponding properties,
properties such as "aggregation" are set to "none", even though I
explicitly chose a composition. Should I be filling in properties by
hand?
Also, how do I tell who owns the association ends in the model itself?
Thank you very much and apologies for the newbie questions.
B.
--
Barbara Rosi-Schwartz
Etish Limited [http://www.etish.org]
Blog: http://www.brs4etish.blogspot.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^...^
/ o,o \ The proud parents of Useme
|) ::: (| The Open Requirements Management Tool
====w=w==== [https://useme.dev.java.net]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Powered by
FUDForum. Page generated in 0.02118 seconds