com.caucho.amber.type
Class ElementType

java.lang.Object
  extended by com.caucho.amber.type.AmberType
      extended by com.caucho.amber.type.AbstractEnhancedType
          extended by com.caucho.amber.type.AmberBeanType
              extended by com.caucho.amber.type.ElementType

public class ElementType
extends AmberBeanType

Represents an element-map value


Constructor Summary
ElementType(AmberPersistenceUnit amberPersistenceUnit, AmberField valueField)
           
 
Method Summary
 java.lang.String generateLoadSelect(AmberTable table, java.lang.String id)
          Generates the select clause for a load.
 AmberField getField()
          Returns the element's value field.
 
Methods inherited from class com.caucho.amber.type.AmberBeanType
addCompletionField, addDependency, addDependency, addField, containsCompletionField, generateCastFromObject, generateExpire, generateInvalidateForeign, generateLoad, generateLoadSelect, generateLoadSelect, generatePrePersist, getCreateLoadMask, getDependencies, getDiscriminator, getField, getField, getFields, getGetter, getGetter, getJavaTypeName, getSelfFields, getSetter, init, isEmbeddable, isEntity, isFieldAccess, removeAllCompletionFields, setBeanClass, setDiscriminator, setFieldAccess, startConfigure
 
Methods inherited from class com.caucho.amber.type.AbstractEnhancedType
addCallback, addPostLoadCallback, addPostPersistCallback, addPostRemoveCallback, addPostUpdateCallback, addPrePersistCallback, addPreRemoveCallback, addPreUpdateCallback, addStubMethod, getBeanClass, getCallbacks, getClassName, getComponentGenerator, getComponentInterfaceName, getConfigException, getInstance, getInstanceClass, getInstanceClass, getInstanceClassName, getJavaBeanClass, getMethods, getName, getPersistenceUnit, getPostLoadCallbacks, getPostPersistCallbacks, getPostRemoveCallbacks, getPostUpdateCallbacks, getPrePersistCallbacks, getPreRemoveCallbacks, getPreUpdateCallbacks, isEnhanced, isGenerated, isIdClass, isInit, setConfigException, setEnhanced, setGenerated, setIdClass, setInstance, setInstanceClassLoader, setInstanceClassName, setName, toString
 
Methods inherited from class com.caucho.amber.type.AmberType
findItem, fromObject, generateCreateColumnSQL, generateEquals, generateIncrementVersion, generateIsNull, generateLoad, generateLoad, generateLoadForeign, generateLoadNative, generateNull, generateSet, generateSetNull, generateSetVersion, getColumnCount, getForeignType, getForeignTypeName, getObject, getObject, isAssignableTo, isAutoIncrement, isBoolean, isNumeric, setParameter, toObject, toObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementType

public ElementType(AmberPersistenceUnit amberPersistenceUnit,
                   AmberField valueField)
Method Detail

getField

public AmberField getField()
Returns the element's value field.


generateLoadSelect

public java.lang.String generateLoadSelect(AmberTable table,
                                           java.lang.String id)
Generates the select clause for a load.

Specified by:
generateLoadSelect in class AmberBeanType