org.objectweb.jorm.comp.generator.memory
Class MemoryBindingMOP

java.lang.Object
  |
  +--org.objectweb.jorm.comp.generator.lib.CommonHelper
        |
        +--org.objectweb.jorm.comp.generator.memory.MemoryBindingMOP
All Implemented Interfaces:
Loggable, MOP

public class MemoryBindingMOP
extends CommonHelper
implements MOP

This class implements the BindingMOP interface in order to specialize the generation of the PBinding for the relationnal database spport.

Author:
Inner classes inherited from class org.objectweb.jorm.comp.generator.lib.CommonHelper
CommonHelper.PNGDesc
 
Field Summary
protected static java.lang.String PACCESSOR_VAR_NAME
           
protected static java.lang.String PACCESSORGEN_VAR_NAME
           
 
Fields inherited from class org.objectweb.jorm.comp.generator.lib.CommonHelper
logger, loggerFactory, PN_GET_TYPES
 
Constructor Summary
MemoryBindingMOP()
           
 
Method Summary
 boolean containsPrimitiveField(Class moc)
           
 java.util.ArrayList getField(Class moc, CompilerParameter cp)
           
 java.lang.String[] getTemplateLibraries()
           
 void initContext(org.apache.velocity.context.Context ctx)
           
 
Methods inherited from class org.objectweb.jorm.comp.generator.lib.CommonHelper
canBeNullValue, containsCompositeName, containsCompositeReference, containsGenClassRef, containsReference, containsSerializedField, getCompositeNameDefEntries, getFQNOfCompositeName, getLogger, getLoggerFactory, getPaGetMethod, getPaSetMethod, getPNameDecodeFunction, getPNameEncodeFunction, getPNameGetterGetFunction, getPNGTypes, 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, getSchemaName, isClass, isClassRef, isCompositeName, isFieldName, isGenClassRef, isHiddenField, isPrimitiveElement, isReference, isSerializedField, isSerializedType, isValidString, iterateCompositeName, iterateCompositeReference, setLogger, setLoggerFactory, upperFL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACCESSOR_VAR_NAME

protected static final java.lang.String PACCESSOR_VAR_NAME

PACCESSORGEN_VAR_NAME

protected static final java.lang.String PACCESSORGEN_VAR_NAME
Constructor Detail

MemoryBindingMOP

public MemoryBindingMOP()
Method Detail

initContext

public void initContext(org.apache.velocity.context.Context ctx)
Specified by:
initContext in interface MOP

getTemplateLibraries

public java.lang.String[] getTemplateLibraries()
Specified by:
getTemplateLibraries in interface MOP

getField

public java.util.ArrayList getField(Class moc,
                                    CompilerParameter cp)

containsPrimitiveField

public boolean containsPrimitiveField(Class moc)