|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.amber.type.AmberType
com.caucho.amber.type.AbstractEnhancedType
com.caucho.amber.type.AmberBeanType
com.caucho.amber.type.EntityType
com.caucho.amber.type.SubEntityType
public class SubEntityType
Represents an application persistent bean type
Field Summary |
---|
Fields inherited from class com.caucho.amber.type.EntityType |
---|
_defaultLoadGroupIndex, _dirtyIndex, _hasLoadCallback, _loadGroupIndex, _minDirtyIndex |
Constructor Summary | |
---|---|
SubEntityType(AmberPersistenceUnit amberPersistenceUnit,
EntityType parent)
|
Method Summary | |
---|---|
int |
getDefaultLoadGroupIndex()
Returns the current load group. |
int |
getDirtyIndex()
Returns the dirty index, overriding the parent. |
AmberColumn |
getDiscriminator()
Returns the discriminator. |
Id |
getId()
Returns the id. |
int |
getLoadGroupIndex()
Returns the load group index, overriding the parent. |
EntityType |
getParentType()
Returns the parent class. |
EntityType |
getRootType()
Returns the root type. |
boolean |
isParentMappedSuperclass()
Returns true if the superclass is a MappedSuperclass. |
java.lang.String |
toString()
Printable version of the entity. |
Methods inherited from class com.caucho.amber.type.AmberBeanType |
---|
addCompletionField, addDependency, addDependency, containsCompletionField, generateCastFromObject, generateExpire, generateInvalidateForeign, generateLoad, generateLoadSelect, generatePrePersist, getCreateLoadMask, getDependencies, getField, getGetter, getGetter, getJavaTypeName, getSelfFields, getSetter, isEmbeddable, isFieldAccess, removeAllCompletionFields, setBeanClass, setDiscriminator, setFieldAccess, startConfigure |
Methods inherited from class com.caucho.amber.type.AmberType |
---|
fromObject, generateCreateColumnSQL, generateEquals, generateIncrementVersion, generateIsNull, generateLoad, generateLoadForeign, generateLoadNative, generateNull, generateSetNull, generateSetVersion, getColumnCount, getForeignType, 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 |
---|
public SubEntityType(AmberPersistenceUnit amberPersistenceUnit, EntityType parent)
Method Detail |
---|
public Id getId()
getId
in class EntityType
public EntityType getRootType()
getRootType
in class EntityType
public EntityType getParentType()
getParentType
in class EntityType
public boolean isParentMappedSuperclass()
public AmberColumn getDiscriminator()
getDiscriminator
in class AmberBeanType
public int getLoadGroupIndex()
getLoadGroupIndex
in class EntityType
public int getDefaultLoadGroupIndex()
getDefaultLoadGroupIndex
in class EntityType
public int getDirtyIndex()
getDirtyIndex
in class EntityType
public java.lang.String toString()
toString
in class AbstractEnhancedType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |