org.objectweb.jorm.mapper.rdb.generator
Class RdbMappingMOP

java.lang.Object
  |
  +--org.objectweb.jorm.generator.lib.CommonHelper
        |
        +--org.objectweb.jorm.mapper.rdb.generator.RdbCommonHelper
              |
              +--org.objectweb.jorm.mapper.rdb.generator.RdbMappingMOP
All Implemented Interfaces:
Loggable, MOP

public class RdbMappingMOP
extends RdbCommonHelper
implements MOP


Field Summary
 
Fields inherited from class org.objectweb.jorm.generator.lib.CommonHelper
logger, loggerFactory, PN_GET_TYPES
 
Constructor Summary
RdbMappingMOP()
           
 
Method Summary
 java.lang.String[] getTemplateLibraries()
           
 void initContext(Context ctx)
          Initializes a velocity context
 boolean isInPK(PrimitiveElementMapping pem)
           
 
Methods inherited from class org.objectweb.jorm.mapper.rdb.generator.RdbCommonHelper
getRdbAdapter, getSqlType
 
Methods inherited from class org.objectweb.jorm.generator.lib.CommonHelper
buildPemList, canBeNullValue, comparePE, containsCharArrayField, containsCompositeName, containsFieldWhichCanBeNull, containsGenClassRef, containsReference, containsSerializedField, getCNPackageName, getCompositeNameDefEntries, getCompositeReferences, getFQNOfCompositeName, getLogger, getLoggerFactory, getPaGetMethod, getPaSetMethod, getPemPos, getPNameDecodeFunction, getPNameEncodeFunction, getPNameGetterGetFunction, getPNGTypes, getPrimitiveElement, getPrimitiveElement, getProjectionField, getPType, getPTypeBigDecimal, getPTypeBoolean, getPTypeByte, getPTypeByteArray, getPTypeChar, getPTypeCharArray, getPTypeDate, getPTypeDouble, getPTypeFloat, getPTypeInt, getPTypeLong, getPTypeOboolean, getPTypeObyte, getPTypeOchar, getPTypeOdouble, getPTypeOfloat, getPTypeOint, getPTypeOlong, getPTypeOshort, getPTypeReference, getPTypeSerialized, getPTypeShort, getPTypeString, getTupleDecoding, getTupleGetter, isCharArrayType, isClass, isClassRef, isCompositeName, isFieldName, isGenClassRef, isHiddenField, isNull, isObjectType, isPrimitiveElement, isReference, isSerializedField, isSerializedType, isValidString, log, not, setLogger, setLoggerFactory, upperFL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdbMappingMOP

public RdbMappingMOP()
Method Detail

isInPK

public boolean isInPK(PrimitiveElementMapping pem)

initContext

public void initContext(Context ctx)
                 throws PException
Description copied from interface: MOP
Initializes a velocity context

Specified by:
initContext in interface MOP
Parameters:
ctx - is the context to initialize
PException

getTemplateLibraries

public java.lang.String[] getTemplateLibraries()
Specified by:
getTemplateLibraries in interface MOP
Returns:
the list of .vm which contains velocity macros