|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTypeHelper
org.objectweb.jorm.generator.lib.CommonHelper
org.objectweb.jorm.mapper.fos.generator.FosMappingMOP
Field Summary |
Fields inherited from class org.objectweb.jorm.generator.lib.CommonHelper |
debug, logger, loggerFactory, PN_GET_TYPES |
Constructor Summary | |
FosMappingMOP(Logger logger)
|
Method Summary | |
java.lang.String |
getDirName(FosClassMapping m,
java.lang.String cn)
|
Logger |
getLogger()
Its retrives the current logger. |
LoggerFactory |
getLoggerFactory()
Its retrives the current logger factory. |
java.lang.String |
getSerObjectCast(PType type)
|
java.lang.String |
getSerRead(PType type)
|
java.lang.String |
getSerWrite(PType type)
|
java.lang.String[] |
getTemplateLibraries()
|
void |
initContext(Context ctx,
Class clazz,
java.lang.String projectName,
java.lang.String mapperName)
Initializes a velocity context |
void |
setLogger(Logger l)
Its assigns a logger. |
void |
setLoggerFactory(LoggerFactory lf)
Its assigns a logger factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FosMappingMOP(Logger logger)
Method Detail |
public void initContext(Context ctx, Class clazz, java.lang.String projectName, java.lang.String mapperName) throws PException
MOP
initContext
in interface MOP
ctx
- is the context to initialize
PException
public java.lang.String[] getTemplateLibraries()
getTemplateLibraries
in interface MOP
public java.lang.String getDirName(FosClassMapping m, java.lang.String cn)
public java.lang.String getSerRead(PType type) throws java.lang.Exception
java.lang.Exception
public java.lang.String getSerWrite(PType type) throws java.lang.Exception
java.lang.Exception
public java.lang.String getSerObjectCast(PType type)
public Logger getLogger()
CommonHelper
getLogger
in interface Loggable
getLogger
in class CommonHelper
public LoggerFactory getLoggerFactory()
CommonHelper
getLoggerFactory
in interface Loggable
getLoggerFactory
in class CommonHelper
public void setLogger(Logger l)
CommonHelper
setLogger
in interface Loggable
setLogger
in class CommonHelper
public void setLoggerFactory(LoggerFactory lf)
CommonHelper
setLoggerFactory
in interface Loggable
setLoggerFactory
in class CommonHelper
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |