|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.metainfo.lib.BasicMetaObject
org.objectweb.jorm.metainfo.lib.BasicMapping
Implementation of the mapping interface.
Field Summary |
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
debug, logger, loggerFactory, parent |
Constructor Summary | |
BasicMapping(java.lang.String mapperName,
MetaObject parent)
Builds a new BasicMapping object. |
Method Summary | |
void |
addGenClassMapping(java.lang.String genClassId,
GenClassMapping genClassMapping)
Adds a GenClassMapping object. |
protected java.util.Collection |
getChildren()
|
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 class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
getLogger, getLoggerFactory, getManager, getParent, setLogger, setLoggerFactory, setLoggingOnChild, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jorm.metainfo.api.Mapping |
createClassMapping |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
Constructor Detail |
public BasicMapping(java.lang.String mapperName, MetaObject parent)
mapperName
- the mapper name,
parent the parent of the current object.Method Detail |
public java.lang.String getMapperName()
getMapperName
in interface Mapping
public void setMapperName(java.lang.String mapperName)
setMapperName
in interface Mapping
mapperName
- the mapper name.public ClassMapping getClassMapping()
getClassMapping
in interface Mapping
public void setClassMapping(ClassMapping classMapping)
setClassMapping
in interface Mapping
classMapping
- a ClassMapping object.public GenClassMapping getGenClassMapping(java.lang.String genClassId)
getGenClassMapping
in interface Mapping
genClassId
- a GenClass identifier.
public java.util.Collection getGenClassMappings()
getGenClassMappings
in interface Mapping
public void addGenClassMapping(java.lang.String genClassId, GenClassMapping genClassMapping)
addGenClassMapping
in interface Mapping
genClassId
- a GenClass identifier,
genClassMapping a GenClassMapping object.protected java.util.Collection getChildren()
getChildren
in class BasicMetaObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |