|
|
|
Re: How to specialize the aggregation for code-generation [message #521214 is a reply to message #520867] |
Tue, 16 March 2010 18:25 |
Konstantin Messages: 8 Registered: March 2010 Location: Germany |
Junior Member |
|
|
Thanks to all for quick answer.
I'm trying the TopCased.
It's not so easy to generate a source code from Model there. I'm not ready with this yet.
My problem is, that I've used parts of UML 1.x before and I'm able to read models (I guess), but I never could generate a suitable source code from the model. That is something I'd like to learn.
Most of the free-ware tools I've worked with were not good/flexible/comfortable enough. And I was not ready to pay for something I cannot use efficiently.
So I want to try UML for MDD with free-ware tools again and the TopCased appears to be the right choice.
[Updated on: Tue, 16 March 2010 18:26] Report message to a moderator
|
|
|
|
|
|
Re: How to specialize the aggregation for code-generation [message #522933 is a reply to message #522897] |
Wed, 24 March 2010 14:57 |
Rafael Chaves Messages: 161 Registered: July 2009 |
Senior Member |
|
|
Konstantin, unless the code generation tools you use require you to use UML templates to generate Java code with generics, I would stay away from it. UML templates are a much more powerful concept than Java generics, and are intended for different purposes.
If all you want to do is to be able to use Java generics in multivalued relationships (with collections), using UML templates is using a cannon ball to kill a fly (no to mention it smells like bringing implementation concerns to your models).
Generating Java code with generics in collection elements really does not require any information you don't have already in a regular property element.
Cheers,
Rafael
[Updated on: Wed, 24 March 2010 14:58] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04488 seconds