public class EmbeddableType extends AmberBeanType
Constructor and Description |
---|
EmbeddableType(AmberPersistenceUnit amberPersistenceUnit) |
Modifier and Type | Method and Description |
---|---|
Embeddable |
createObject()
Creates an embeddable object of this type.
|
java.lang.String |
generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for a load.
|
ClassComponent |
getComponentGenerator()
Gets a component generator.
|
java.lang.Class |
getInstanceClass()
Gets the instance class.
|
boolean |
isEmbeddable()
Returns true for an embeddable
|
addCompletionField, addDependency, addDependency, addField, containsCompletionField, generateCastFromObject, generateExpire, generateInvalidateForeign, generateLoad, generateLoadSelect, generateLoadSelect, generatePrePersist, getCreateLoadMask, getDependencies, getDiscriminator, getField, getField, getFields, getGetter, getGetter, getJavaTypeName, getSelfFields, getSetter, init, isEntity, isFieldAccess, removeAllCompletionFields, setBeanClass, setDiscriminator, setFieldAccess, startConfigure
addCallback, addPostLoadCallback, addPostPersistCallback, addPostRemoveCallback, addPostUpdateCallback, addPrePersistCallback, addPreRemoveCallback, addPreUpdateCallback, addStubMethod, getBeanClass, getCallbacks, getClassName, getComponentInterfaceName, getConfigException, getInstance, 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
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
public EmbeddableType(AmberPersistenceUnit amberPersistenceUnit)
public boolean isEmbeddable()
isEmbeddable
in class AmberBeanType
public ClassComponent getComponentGenerator()
getComponentGenerator
in class AbstractEnhancedType
public java.lang.Class getInstanceClass()
getInstanceClass
in class AbstractEnhancedType
public java.lang.String generateLoadSelect(AmberTable table, java.lang.String id)
generateLoadSelect
in class AmberBeanType
public Embeddable createObject() throws java.sql.SQLException
java.sql.SQLException