Package org.hibernate.cfg
Class InheritanceState
- java.lang.Object
-
- org.hibernate.cfg.InheritanceState
-
public class InheritanceState extends java.lang.Object
Some extra data to the inheritance position of a class.
-
-
Constructor Summary
Constructors Constructor Description InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, java.util.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.XClass
getClassWithIdClass(boolean evenIfSubclass)
org.hibernate.annotations.common.reflection.XClass
getClazz()
org.hibernate.cfg.InheritanceState.ElementsToProcess
getElementsToProcess()
static InheritanceState
getInheritanceStateOfSuperEntity(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
static InheritanceState
getSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
InheritanceType
getType()
java.lang.Boolean
hasIdClassOrEmbeddedId()
boolean
hasParents()
boolean
hasSiblings()
boolean
isEmbeddableSuperclass()
void
setClazz(org.hibernate.annotations.common.reflection.XClass clazz)
void
setEmbeddableSuperclass(boolean embeddableSuperclass)
void
setHasParents(boolean hasParents)
void
setHasSiblings(boolean hasSiblings)
void
setType(InheritanceType type)
-
-
-
Constructor Detail
-
InheritanceState
public InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
getInheritanceStateOfSuperEntity
public static InheritanceState getInheritanceStateOfSuperEntity(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
-
getSuperclassInheritanceState
public static InheritanceState getSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, java.util.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)
-
getClassWithIdClass
public org.hibernate.annotations.common.reflection.XClass getClassWithIdClass(boolean evenIfSubclass)
-
hasIdClassOrEmbeddedId
public java.lang.Boolean hasIdClassOrEmbeddedId()
-
getElementsToProcess
public org.hibernate.cfg.InheritanceState.ElementsToProcess getElementsToProcess()
-
-