|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.objectweb.jorm.metainfo.lib.BasicClassMapping
BasicClassMapping is THE basic implementation of the ClassMapping interface. * Its defines basic methods, and must be extended to different mappers.
| Field Summary | |
org.objectweb.util.monolog.api.Logger |
logger
a simple logger to log |
MetaObject |
parent
the parent object of the current object |
| Constructor Summary | |
BasicClassMapping(java.lang.String mapperName,
java.lang.String mappingName,
MetaObject parent)
Builds a new BasicClassMapping. |
|
| Method Summary | |
org.objectweb.util.monolog.api.Logger |
getLogger()
Returns a logger to an component that wants to log things. |
org.objectweb.util.monolog.api.LoggerFactory |
getLoggerFactory()
Returns a logger factory that allows the creation of new loggers. |
java.lang.String |
getMapperName()
Returns the complete name of the mapper used by the current class |
java.lang.String |
getMappingName()
Returns the name of the mapping used by the current class. |
MetaObject |
getParent()
Allows to know the parent MetaObject of the current MetaObject. |
void |
setLogger(org.objectweb.util.monolog.api.Logger logger)
Defines a logger object. |
void |
setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerFactory)
Defines the logger factory to obtain new logger. |
void |
setParent(MetaObject itsParent)
Set the parent of the current meta object if it is not yet done by the constructor of the meta object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public MetaObject parent
public transient org.objectweb.util.monolog.api.Logger logger
| Constructor Detail |
public BasicClassMapping(java.lang.String mapperName,
java.lang.String mappingName,
MetaObject parent)
mapperName - the name of the mappermappingName - the name of the class mapping classparent - the parent of the current object| Method Detail |
public java.lang.String getMapperName()
getMapperName in interface ClassMappingpublic java.lang.String getMappingName()
getMappingName in interface ClassMappingpublic MetaObject getParent()
getParent in interface MetaObjectpublic void setParent(MetaObject itsParent)
setParent in interface MetaObjectitsParent - the parent MetaObject of the current objectpublic void setLogger(org.objectweb.util.monolog.api.Logger logger)
setLogger in interface Loggablelogger - the logger objectpublic void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerFactory)
setLoggerFactory in interface LoggableloggerFactory - the LoggerFactory object to obtain a logger objectpublic org.objectweb.util.monolog.api.Logger getLogger()
LoggablegetLogger in interface Loggableorg.objectweb.jorm.util.api.Loggablelogger - the logger objectpublic org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
LoggablegetLoggerFactory in interface Loggableorg.objectweb.jorm.util.api.Loggableloggerfactory - the LoggerFactory object to obtain new loggers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||