|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JormMIMappingBuilder
This interface defines a builder of the mapping part of the Jorm meta information. It must be implemented for each mapper.
Method Detail |
---|
org.objectweb.jorm.metainfo.api.ClassMapping createClassMapping(org.objectweb.jorm.metainfo.api.Class clazz, SpeedoClass sc, org.objectweb.jorm.metainfo.api.Mapping mapping) throws org.objectweb.jorm.api.PException, SpeedoException
clazz
- is the Jorm meta object representing the class which the
ClassMapping must be built.mapping
- is the Mapping instance which will host the ClassMapping.
org.objectweb.jorm.api.PException
- if it is not possible to build the ClassMapping
SpeedoException
org.objectweb.jorm.metainfo.api.GenClassMapping createGenClassMapping(org.objectweb.jorm.metainfo.api.GenClassRef gcr, SpeedoField sf, org.objectweb.jorm.metainfo.api.Mapping mapping) throws org.objectweb.jorm.api.PException, SpeedoException
gcr
- is the Jorm meta object representing the gen class which the
GenClassMapping must be built.mapping
- is the Mapping instance which will host the GenClassMapping.sf
- is the SpeedoField corresponding to the generic class.
org.objectweb.jorm.api.PException
- if it is not possible to build the GenClassMapping
SpeedoException
org.objectweb.jorm.metainfo.api.PrimitiveElementMapping createFieldMapping(org.objectweb.jorm.metainfo.api.PrimitiveElement pe, SpeedoField sf, org.objectweb.jorm.metainfo.api.ClassMapping cm) throws org.objectweb.jorm.api.PException, SpeedoException
pe
- is the Jorm meta object representing a primitive fieldcm
- is the MappingStructure which will host the mapping of the
field
org.objectweb.jorm.api.PException
- if it is not possible to build the mapping of the
primitive field.
SpeedoException
org.objectweb.jorm.metainfo.api.PrimitiveElementMapping createFieldMapping(org.objectweb.jorm.metainfo.api.PrimitiveElement pe, SpeedoNoFieldColumn sf, org.objectweb.jorm.metainfo.api.ClassMapping cm) throws org.objectweb.jorm.api.PException, SpeedoException
pe
- is the Jorm meta object representing a primitive fieldcm
- is the MappingStructure which will host the mapping of the
field
org.objectweb.jorm.api.PException
- if it is not possible to build the mapping of the
primitive field.
SpeedoException
org.objectweb.jorm.metainfo.api.PrimitiveElementMapping createFieldMapping(org.objectweb.jorm.metainfo.api.PrimitiveElement pe, SpeedoInheritedField sif, org.objectweb.jorm.metainfo.api.ClassMapping cm) throws org.objectweb.jorm.api.PException, SpeedoException
pe
- is the Jorm meta object representing a primitive fieldsif
- is the SpeedoInheritedField meta object representing the
inherited field.cm
- is the MappingStructure which will host the mapping of the
field
org.objectweb.jorm.api.PException
SpeedoException
org.objectweb.jorm.metainfo.api.PrimitiveElementMapping createGenClassElementMapping(org.objectweb.jorm.metainfo.api.PrimitiveElement pe, SpeedoField sf, org.objectweb.jorm.metainfo.api.GenClassMapping gcm) throws org.objectweb.jorm.api.PException, SpeedoException
pe
- is the Jorm meta object representing a primitive fieldgcm
- is the MappingStructure which will host the mapping of the
fieldsf
- is the Speedo meta object representing the persistent field
referencing a generic class.
org.objectweb.jorm.api.PException
- if it is not possible to build the mapping of the
primitive field.
SpeedoException
org.objectweb.jorm.metainfo.api.PrimitiveElementMapping createGenClassIndexMapping(org.objectweb.jorm.metainfo.api.PrimitiveElement pe, SpeedoField sf, org.objectweb.jorm.metainfo.api.GenClassMapping gcm) throws org.objectweb.jorm.api.PException, SpeedoException
pe
- is the Jorm meta object representing a primitive fieldgcm
- is the MappingStructure which will host the mapping of the
fieldsf
- is the Speedo meta object representing the persistent field
referencing a generic class.
org.objectweb.jorm.api.PException
- if it is not possible to build the mapping of the
primitive field.
SpeedoException
void createClassIdentifierNameDefMapping(org.objectweb.jorm.metainfo.api.ClassMapping cm, org.objectweb.jorm.metainfo.api.NameDef nd, SpeedoClass sc, MIBuilderHelper mibh) throws org.objectweb.jorm.api.PException, SpeedoException
cm
- is the MappingStructure which will host the mapping of the
generic classnd
- is the namedef corresponding to the identifier of the
generic classsc
- is the Speedo meta object representing the persistent class.
org.objectweb.jorm.api.PException
SpeedoException
void createGenClassIdentifierNameDefMapping(org.objectweb.jorm.metainfo.api.GenClassMapping gcm, org.objectweb.jorm.metainfo.api.NameDef nd, SpeedoField sf, MIBuilderHelper mibh) throws org.objectweb.jorm.api.PException, SpeedoException
gcm
- is the MappingStructure which will host the mapping of the
generic classnd
- is the namedef corresponding to the identifier of the
generic classsf
- is the Speedo meta object representing the persistent field
referencing a generic class.
org.objectweb.jorm.api.PException
SpeedoException
void createClassRefNameDefMapping(org.objectweb.jorm.metainfo.api.ClassMapping cm, org.objectweb.jorm.metainfo.api.NameDef nd, SpeedoCommonField sf) throws org.objectweb.jorm.api.PException, SpeedoException
cm
- is the MappingStructure which will host the mapping of the
referencend
- is the namedef corresponding to the referencesf
- is the Speedo meta object representing the persistent field
referencing a class.
org.objectweb.jorm.api.PException
SpeedoException
void createClassRefNameDefMapping(org.objectweb.jorm.metainfo.api.GenClassMapping gcm, org.objectweb.jorm.metainfo.api.NameDef nd, SpeedoField sf) throws org.objectweb.jorm.api.PException, SpeedoException
gcm
- is the MappingStructure which will host the mapping of the
referencend
- is the namedef corresponding to the referencesf
- is the Speedo meta object representing the persistent field
referencing a generic class.
org.objectweb.jorm.api.PException
SpeedoException
void createGenClassRefNameDefMapping(org.objectweb.jorm.metainfo.api.ClassMapping cm, org.objectweb.jorm.metainfo.api.NameDef nd, SpeedoCommonField sf) throws org.objectweb.jorm.api.PException, SpeedoException
cm
- is the MappingStructure which will host the mapping of the
referencend
- is the namedef corresponding to the referencesf
- is the Speedo meta object representing the persistent field
referencing a generic class.
org.objectweb.jorm.api.PException
SpeedoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |