Class InheritanceState
java.lang.Object
org.hibernate.boot.model.internal.InheritanceState
Some extra data to the inheritance position of a class.
- Author:
- Emmanuel Bernard
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInheritanceState(XClass clazz, Map<XClass, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptiongetClassWithIdClass(boolean evenIfSubclass) getClazz()static InheritanceStategetInheritanceStateOfSuperEntity(XClass clazz, Map<XClass, InheritanceState> states) static InheritanceStategetSuperclassInheritanceState(XClass clazz, Map<XClass, InheritanceState> states) getType()booleanbooleanbooleanbooleanhasTable()booleanvoidpostProcess(Component component) postProcess(PersistentClass persistenceClass, EntityBinder entityBinder) voidvoidsetEmbeddableSuperclass(boolean embeddableSuperclass) voidsetHasParents(boolean hasParents) voidsetHasSiblings(boolean hasSiblings) voidsetType(InheritanceType type)
-
Constructor Details
-
InheritanceState
public InheritanceState(XClass clazz, Map<XClass, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
-
-
Method Details
-
hasTable
public boolean hasTable() -
hasDenormalizedTable
public boolean hasDenormalizedTable() -
getInheritanceStateOfSuperEntity
public static InheritanceState getInheritanceStateOfSuperEntity(XClass clazz, Map<XClass, InheritanceState> states) -
getSuperclassInheritanceState
public static InheritanceState getSuperclassInheritanceState(XClass clazz, Map<XClass, InheritanceState> states) -
getClazz
-
setClazz
-
hasSiblings
public boolean hasSiblings() -
setHasSiblings
public void setHasSiblings(boolean hasSiblings) -
hasParents
public boolean hasParents() -
setHasParents
public void setHasParents(boolean hasParents) -
getType
-
setType
-
isEmbeddableSuperclass
public boolean isEmbeddableSuperclass() -
setEmbeddableSuperclass
public void setEmbeddableSuperclass(boolean embeddableSuperclass) -
postProcess
public InheritanceState.ElementsToProcess postProcess(PersistentClass persistenceClass, EntityBinder entityBinder) -
postProcess
-
getClassWithIdClass
-
hasIdClassOrEmbeddedId
-