|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.generation.lib.AbstractGeneratorComponent
org.objectweb.speedo.generation.jorm.JormMIGenerator
public class JormMIGenerator
Build the JORM meta information
Field Summary | |
---|---|
protected org.objectweb.jorm.compiler.lib.JormCompiler |
jormcompiler
Jorm classes intended for JORM generation |
static java.lang.String |
LOGGER_NAME
|
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent |
---|
debug, logger, personality, scp |
Constructor Summary | |
---|---|
JormMIGenerator(Personality p)
|
Method Summary | |
---|---|
protected void |
compareClass(SpeedoClass clas,
org.objectweb.jorm.metainfo.api.Manager manager,
java.util.List except)
|
java.lang.String |
getTitle()
|
boolean |
init()
Instanciates and configures partialy a JormCompiler required for the .pd parsing and fetching a configured MIManager |
protected void |
isCompatible()
Verifies that all persistent capable field for jdo is described in JORM. |
void |
process()
Do the job of the component. |
void |
process2()
Performs the JORM Meta Information building. |
Methods inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent |
---|
getLogger, getSpeedoCompilerParameter, getSummary, setLogger, setSpeedoCompilerParameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOGGER_NAME
protected org.objectweb.jorm.compiler.lib.JormCompiler jormcompiler
Constructor Detail |
---|
public JormMIGenerator(Personality p)
Method Detail |
---|
public boolean init() throws SpeedoException
init
in interface GeneratorComponent
init
in class AbstractGeneratorComponent
SpeedoException
- if the component initialization failspublic java.lang.String getTitle()
getTitle
in interface GeneratorComponent
getTitle
in class AbstractGeneratorComponent
public void process() throws SpeedoException
GeneratorComponent
process
in interface GeneratorComponent
process
in class AbstractGeneratorComponent
SpeedoException
- if the component initialization failspublic void process2() throws SpeedoException, org.objectweb.jorm.api.PException
SpeedoException
org.objectweb.jorm.api.PException
protected void isCompatible() throws SpeedoException
SpeedoXMLError
- if JORM an JDO MetaData are not coherent
SpeedoException
protected void compareClass(SpeedoClass clas, org.objectweb.jorm.metainfo.api.Manager manager, java.util.List except) throws SpeedoException
SpeedoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |