Class InheritanceState
- java.lang.Object
- org.hibernate.boot.model.internal.InheritanceState
public classInheritanceStateextendsObject
Some extra data to the inheritance position of a class.
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInheritanceState.ElementsToProcess
Constructor Summary
Constructors Constructor Description InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,MetadataBuildingContext buildingContext)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.annotations.common.reflection.XClassgetClassWithIdClass(boolean evenIfSubclass)org.hibernate.annotations.common.reflection.XClassgetClazz()staticInheritanceStategetInheritanceStateOfSuperEntity(org.hibernate.annotations.common.reflection.XClass clazz,Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)staticInheritanceStategetSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)InheritanceTypegetType()booleanhasDenormalizedTable()BooleanhasIdClassOrEmbeddedId()booleanhasParents()booleanhasSiblings()booleanhasTable()booleanisEmbeddableSuperclass()voidpostProcess(Component component)InheritanceState.ElementsToProcesspostProcess(PersistentClass persistenceClass,EntityBinder entityBinder)voidsetClazz(org.hibernate.annotations.common.reflection.XClass clazz)voidsetEmbeddableSuperclass(boolean embeddableSuperclass)voidsetHasParents(boolean hasParents)voidsetHasSiblings(boolean hasSiblings)voidsetType(InheritanceType type)
Constructor Detail
InheritanceState
public InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,MetadataBuildingContext buildingContext)
Method Detail
hasTable
public boolean hasTable()
hasDenormalizedTable
public boolean hasDenormalizedTable()
getInheritanceStateOfSuperEntity
public static InheritanceState getInheritanceStateOfSuperEntity(org.hibernate.annotations.common.reflection.XClass clazz,Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
getSuperclassInheritanceState
public static InheritanceState getSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
getClazz
public org.hibernate.annotations.common.reflection.XClass getClazz()
setClazz
public void setClazz(org.hibernate.annotations.common.reflection.XClass clazz)
hasSiblings
public boolean hasSiblings()
setHasSiblings
public void setHasSiblings(boolean hasSiblings)
hasParents
public boolean hasParents()
setHasParents
public void setHasParents(boolean hasParents)
getType
public InheritanceType getType()
setType
public void setType(InheritanceType type)
isEmbeddableSuperclass
public boolean isEmbeddableSuperclass()
setEmbeddableSuperclass
public void setEmbeddableSuperclass(boolean embeddableSuperclass)
postProcess
public InheritanceState.ElementsToProcess postProcess(PersistentClass persistenceClass,EntityBinder entityBinder)
postProcess
public void postProcess(Component component)
getClassWithIdClass
public org.hibernate.annotations.common.reflection.XClass getClassWithIdClass(boolean evenIfSubclass)
hasIdClassOrEmbeddedId
public Boolean hasIdClassOrEmbeddedId()