Code generation options for Java

Code generation options for Java

Postby SumeetSaini on 02 Feb 2010, 18:27

Hi,
I am using ArgoUML for reverse engineering and forward engineering. In class diagram, I changed multiplicity 0..*. When I want to generate code for this diagram, it creates Vector in java file for added multiplicity. Instead, I want it as Array. Like in MyEclipse, we can select "Container type for UML arrays:", it can be LinkedList, ArrayList, Vector or HashSet . Is there any option where I can choose it to generate code with Array, not Vector.

Thanks,
Sumeet
SumeetSaini
 
Posts: 2
Joined: 02 Feb 2010, 18:12

Re: Code generation options for Java

Postby ThomasNeustupny on 03 Feb 2010, 09:44

Unfortunatels there's no such an option. You need to model LinkedList, ArrayList, Vector or HashSet explicitely, then it will be generated. There once was an attempt to consider this duriing reverse engineering, but it was not finished.
--
Thomas Neustupny
Developer
ThomasNeustupny
 
Posts: 344
Joined: 08 May 2008, 12:59
Location: Berlin, Germany

Re: Code generation options for Java

Postby SumeetSaini on 03 Feb 2010, 22:27

Thanks. Is there any chance if it is coming in future releases.
Regards,
Sumeet
SumeetSaini
 
Posts: 2
Joined: 02 Feb 2010, 18:12

Re: Code generation options for Java

Postby ThomasNeustupny on 04 Feb 2010, 14:34

I can't tell. There's noone working on it now, so I'd say: it's not very likely to happen soon. You can report an issue in our bugtracker and vote for it. Or even better, provide a patch, we help everyone to get used to the code. That's all I can suggest.
--
Thomas Neustupny
Developer
ThomasNeustupny
 
Posts: 344
Joined: 08 May 2008, 12:59
Location: Berlin, Germany


Return to Using ArgoUML for modelling Java

Who is online

Users browsing this forum: No registered users and 1 guest

cron