|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Mapping object contains mapping structures obtained by applying a set of mapping rules whose syntax and semantics depend of a particular mapper. Mapping rules define the way class instances will be stored on a particular type of persistent store and how they will be read and write from/to the persistent store.
Method Summary | |
---|---|
void |
addGenClassMapping(java.lang.String genClassId,
GenClassMapping genClassMapping)
Adds a GenClassMapping object. |
ClassMapping |
createClassMapping(java.lang.String ruleName)
Create a class mapping |
ClassMapping |
getClassMapping()
Returns the mapping structure of the class. |
GenClassMapping |
getGenClassMapping(java.lang.String genclassid)
Returns the GenClassMapping object of a GenClass. |
java.util.Collection |
getGenClassMappings()
Returns a collection of GenClassMapping objects. |
java.lang.String |
getMapperName()
Returns the name of the mapper. |
void |
setClassMapping(ClassMapping classMapping)
Sets the mapping structure of the class. |
void |
setMapperName(java.lang.String mapperName)
Sets the mapper name. |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
---|
getParent, setParent |
Method Detail |
public java.lang.String getMapperName()
public void setMapperName(java.lang.String mapperName)
mapperName
- the mapper name.public ClassMapping getClassMapping()
public void setClassMapping(ClassMapping classMapping)
classMapping
- a ClassMapping object.public GenClassMapping getGenClassMapping(java.lang.String genclassid)
genclassid
- a GenClass identifier.
public java.util.Collection getGenClassMappings()
public void addGenClassMapping(java.lang.String genClassId, GenClassMapping genClassMapping)
genClassId
- a GenClass identifier,
genClassMapping a GenClassMapping object.public ClassMapping createClassMapping(java.lang.String ruleName)
ruleName
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |