Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Generating Java-classes?
Generating Java-classes? [message #627618] Wed, 20 May 2009 11:37
No real name is currently offline 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
Previous Topic:assigning a default value to an inherited property
Next Topic:Feature annotation not found
Goto Forum:
  


Current Time: Wed Aug 20 02:58:27 EDT 2014

Powered by FUDForum. Page generated in 0.01592 seconds