类 InheritanceState
- java.lang.Object
-
- org.hibernate.cfg.InheritanceState
-
public class InheritanceState extends Object
Some extra data to the inheritance position of a class.- 作者:
- Emmanuel Bernard
-
-
构造器概要
构造器 构造器 说明 InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 org.hibernate.annotations.common.reflection.XClassgetClassWithIdClass(boolean evenIfSubclass)org.hibernate.annotations.common.reflection.XClassgetClazz()org.hibernate.cfg.InheritanceState.ElementsToProcessgetElementsToProcess()static InheritanceStategetInheritanceStateOfSuperEntity(org.hibernate.annotations.common.reflection.XClass clazz, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)static InheritanceStategetSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)javax.persistence.InheritanceTypegetType()BooleanhasIdClassOrEmbeddedId()booleanhasParents()booleanhasSiblings()booleanisEmbeddableSuperclass()voidsetClazz(org.hibernate.annotations.common.reflection.XClass clazz)voidsetEmbeddableSuperclass(boolean embeddableSuperclass)voidsetHasParents(boolean hasParents)voidsetHasSiblings(boolean hasSiblings)voidsetType(javax.persistence.InheritanceType type)
-
-
-
构造器详细资料
-
InheritanceState
public InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
-
-
方法详细资料
-
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 javax.persistence.InheritanceType getType()
-
setType
public void setType(javax.persistence.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 Boolean hasIdClassOrEmbeddedId()
-
getElementsToProcess
public org.hibernate.cfg.InheritanceState.ElementsToProcess getElementsToProcess()
-
-