Generating Java-classes? [message #627618] |
Wed, 20 May 2009 15:37 |
No real name Messages: 61 Registered: July 2009 |
Member |
|
|
Hi,
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?
thank you
|
|
|
Powered by
FUDForum. Page generated in 0.25550 seconds