|Generating Java-classes? [message #627618]
||Wed, 20 May 2009 15:37
| No real name
Registered: July 2009
I want to use the UML-metamodel in order to develop a modeling-tool. So I
generated a UML.genmodel from the uml.ecore . Then I right-clicked the
genmodel and chose "Generate Model Code".
Unfortunatly the generated classes contain one error. That is located in
the generated CombinedFragment.java, where a method was created named
"break", which is obviously a Java-keyword. "break" is the name of an
operation in the CombinedFragment-type in the metamodel.
So my question is, how can I fix it? Or am I going in a wrong direction?
I guess this is a noob-question, because people probably generate the
Java-classes from the model all the time, right?
Powered by FUDForum
. Page generated in 0.03823 seconds