org.objectweb.speedo.generation.jorm
Class JormGenerator
java.lang.Object
|
+--org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
|
+--org.objectweb.speedo.generation.jorm.JormGenerator
- All Implemented Interfaces:
- GeneratorComponent
- public class JormGenerator
- extends AbstractGeneratorComponent
Generates the JORM Files corresponding to a set of Java Classes.
See http://www.objectweb.org/jormfor more information.
- Author:
- Y. Devaux
Field Summary |
protected org.objectweb.jorm.comp.compiler.lib.JormCompiler |
jormcompiler
Jorm classes intended for JORM generation |
static java.lang.String |
LOGGER_NAME
|
Method Summary |
protected void |
compareClass(SpeedoClass clas,
org.objectweb.jorm.metainfo.api.Manager manager,
java.util.List except)
|
void |
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
jormcompiler
protected org.objectweb.jorm.comp.compiler.lib.JormCompiler jormcompiler
- Jorm classes intended for JORM generation
JormGenerator
public JormGenerator()
init
public void init()
throws SpeedoException
- Overrides:
init
in class AbstractGeneratorComponent
process
public void process()
throws SpeedoException
- Performs the JORM objects' generation.
- Overrides:
process
in class AbstractGeneratorComponent
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
compareClass
protected void compareClass(SpeedoClass clas,
org.objectweb.jorm.metainfo.api.Manager manager,
java.util.List except)
throws SpeedoException