|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.speedo.generation.jorm.JormMIBuilder
This class is a builder of jorm meta information. Its entries are the folowing:
Field Summary | |
static java.lang.String |
DEFAULT_RDB_BUILDER
|
static java.lang.String |
GENCLASS_ELM_PREFIX
is the prefix of the fields used for the element of a generic class |
static java.lang.String |
GENCLASS_ID_PREFIX
is the prefix of the fields used to identify a generic class |
static java.lang.String |
SPEEDO_ID_CID
is a name of field of the composite name used for the identifiers in case of container identifier management. |
static java.lang.String |
SPEEDO_ID_NAME
is the name of the composite name used for the identifiers in case of container identifier management. |
static java.lang.String |
SPEEDO_ID_OID
is a name of field of the composite name used for the identifiers in case of container identifier management. |
Constructor Summary | |
JormMIBuilder()
Builds a JormMIBuilder without a jorm meta information manager and a logger. |
|
JormMIBuilder(org.objectweb.jorm.metainfo.api.Manager manager,
org.objectweb.util.monolog.api.Logger logger)
Builds a JormMIBuilder with a jorm meta information manager and a logger |
Method Summary | |
java.util.Collection |
createMI(java.util.List scs)
Creates the jorm meta information for a set of persistent classes. |
java.util.Collection |
createMI(java.util.List scs,
java.lang.String projectName,
java.lang.String mapperName)
Creates the jorm meta information for a set of persistent classes. |
java.util.Collection |
createMI(java.util.List scs,
java.lang.String projectName,
java.lang.String mapperName,
JormMIMappingBuilder mb)
Creates the jorm meta information for a set of persistent classes. |
org.objectweb.util.monolog.api.Logger |
getLogger()
|
org.objectweb.jorm.metainfo.api.Manager |
getManager()
retrieves the jorm meta information manager hosting the Class and CompositeName instances. |
static org.objectweb.jorm.type.api.PType |
getPrimitivePType(java.lang.String cn)
|
void |
setLogger(org.objectweb.util.monolog.api.Logger logger)
|
void |
setManager(org.objectweb.jorm.metainfo.api.Manager manager)
retrieves the jorm meta information manager hosting the Class and CompositeName instances. |
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 GENCLASS_ID_PREFIX
public static final java.lang.String GENCLASS_ELM_PREFIX
public static final java.lang.String SPEEDO_ID_NAME
public static final java.lang.String DEFAULT_RDB_BUILDER
public static final java.lang.String SPEEDO_ID_OID
public static final java.lang.String SPEEDO_ID_CID
Constructor Detail |
public JormMIBuilder()
public JormMIBuilder(org.objectweb.jorm.metainfo.api.Manager manager, org.objectweb.util.monolog.api.Logger logger)
manager
- Method Detail |
public org.objectweb.jorm.metainfo.api.Manager getManager()
public void setManager(org.objectweb.jorm.metainfo.api.Manager manager)
public org.objectweb.util.monolog.api.Logger getLogger()
public void setLogger(org.objectweb.util.monolog.api.Logger logger)
public java.util.Collection createMI(java.util.List scs) throws SpeedoException, org.objectweb.jorm.api.PException
scs
- is a list of SpeedoClass instances.public java.util.Collection createMI(java.util.List scs, java.lang.String projectName, java.lang.String mapperName) throws SpeedoException, org.objectweb.jorm.api.PException
scs
- is a list of SpeedoClass instances.projectName
- is the project name for which the mapping must
be defined. If the value is null no mapping will be generated.mapperName
- is the mapper name for which the mapping must
be defined. If the value is null no mapping will be generated.public java.util.Collection createMI(java.util.List scs, java.lang.String projectName, java.lang.String mapperName, JormMIMappingBuilder mb) throws SpeedoException, org.objectweb.jorm.api.PException
scs
- is a list of SpeedoClass instances.projectName
- is the project name for which the mapping must
be definedmapperName
- is the mapper name for which the mapping must
be definedmb
- is the build of the mapping part of the meta informationpublic static org.objectweb.jorm.type.api.PType getPrimitivePType(java.lang.String cn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |