- This topic has 1 reply, 1 voice, and was last updated 15 years, 10 months ago by santiagozky.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
santiagozkyMemberHello. I am trying to generate some code for a very simple diagram (2 classes with a one to many aggregation association) but I cannot achieve it. I am getting:
association without valid java identifier two times, once for each class.my myeclipse info;
*** Date: martes 3 de febrero de 2009 04:42:04 PM CST ** System properties: OS=WindowsXP OS version=5.1.0 Java version=1.5.0_11 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 7.0 Build id: 7.0-20081201 *** Eclipse details: MyEclipse Enterprise Workbench Version: 7.0 Build id: 7.0-20081201 Eclipse Platform Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu Build id: M20080911-1700 Eclipse Java Development Tools Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97 Build id: M20080709-0800 Eclipse Graphical Editing Framework GEF Version: 3.4.1.v20080806-67718083A56B4H2A3213573 Build id: 200809101400 Eclipse RCP Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341 Build id: M20080703-0800 Eclipse Plug-in Development Environment Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP Build id: M20080703-0800 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Archivos de programa\myeclipse7\Genuitec\MyEclipse 7.0\myeclipse.exe -name Myeclipse --launcher.library C:\Archivos de programa\myeclipse7\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\Archivos de programa\myeclipse7\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -clean -configuration C:\Archivos de programa\myeclipse7\Genuitec\MyEclipse 7.0\configuration -vm C:\Archivos de programa\myeclipse7\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
Does the code generator have any problems? I also tried a few days ago with an old version (5.5) with similar results.
santiagozkyMemberOk, I just did it.
It appears that in the code the variable name for the association is the name of the association and not the name of the association end. Is this an UML convention or yours?I also have a question. The aggregation was generated like : Public Vector objects. I was hoping for Public Vector<ClassName> objects. Why is this?
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)