Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Associations: Are they good for anything?
Associations: Are they good for anything? [message #617591] Wed, 30 January 2008 20:22
Eclipse UserFriend
Originally posted by: m_lehmeier.gmx.de

Situation:
I read the "Using EMF" Tutorial at
http://www.eclipse.org/articles/Article-Using%20EMF/using-em f.html

It showed an UML diagram that is used to build the example metamodel.
It was done in Rational Rose, but I thought there are the uml2tools,
they should also be able to do that.

So I created a diagram and basically copied that diagram.
I didn't find out how to put the arrows on the associations, but I guess
that is not so important.

Note:
That important stuff like multiplicities have to be manually edited in
the properties and are even distributed into no less than four property
fields is very nasty and time-consuming. I hope this will be changed
soon.

Anyway, I then generated an EMF model out of the result which went fine.
The resulting model however, showed no associations. No reference
fields.

I wonder: Isn't model generation the main task of the uml2tools? If yes,
then it seems that associations only serve for decoration in the
diagram.
I hope not.

I wonder this especially because in the tutorial
http://www.vogella.de/articles/UML/article.html
the chapter for the explanation of associations makes up a pretty big
part.
But it never explains what purpose they serve in modeling with
uml2tools.
Or how to edit the multiplcities for that matter.

My suggestion to whoever made the tutorial is to add one example how all
the editing reflects in a concrete result, meaning either a generated
model, generated java code or whatever.

--
Lehmeier Michael (Nightshade Dragon UDIC)

8:00 - 12:00 : Frohlocken!
12:00 - 20:00 : Hosianna singen!
Previous Topic:comp diagram
Next Topic:How to regenerate gmfgen?
Goto Forum:
  


Current Time: Sat Dec 20 08:48:13 GMT 2014

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

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