org.objectweb.speedo.wizard.generation
Class JormWriter
java.lang.Object
org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
org.objectweb.speedo.wizard.generation.JormWriter
- All Implemented Interfaces:
- GeneratorComponent
- public class JormWriter
- extends AbstractGeneratorComponent
Field Summary |
protected JormCompiler |
jormcompiler
Jorm classes intended for JORM generation |
static java.lang.String |
LOGGER_NAME
|
Method Summary |
protected void |
compareClass(SpeedoClass clas,
Manager manager,
java.util.List except)
|
boolean |
init()
|
protected void |
isCompatible()
Verifies that all persistent capable field for jdo is described in JORM. |
void |
process()
Performs the JORM objects' generation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER_NAME
public static final java.lang.String LOGGER_NAME
- See Also:
- Constant Field Values
jormcompiler
protected JormCompiler jormcompiler
- Jorm classes intended for JORM generation
JormWriter
public JormWriter()
init
public boolean init()
throws SpeedoException
- Specified by:
init
in interface GeneratorComponent
- Specified by:
init
in class AbstractGeneratorComponent
- Throws:
SpeedoException
process
public void process()
throws SpeedoException
- Performs the JORM objects' generation.
- Specified by:
process
in interface GeneratorComponent
- Specified by:
process
in class AbstractGeneratorComponent
- Throws:
SpeedoException
isCompatible
protected void isCompatible()
throws SpeedoException
- Verifies that all persistent capable field for jdo is described in JORM.
- Throws:
SpeedoXMLError
- if JORM an JDO MetaData are not coherent
SpeedoException
compareClass
protected void compareClass(SpeedoClass clas,
Manager manager,
java.util.List except)
throws SpeedoException
- Throws:
SpeedoException