public class InheritanceState
extends java.lang.Object
Constructor and Description |
---|
InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
MetadataBuildingContext buildingContext) |
Modifier and Type | Method and 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) |
javax.persistence.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(javax.persistence.InheritanceType type) |
public InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
public static InheritanceState getInheritanceStateOfSuperEntity(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
public static InheritanceState getSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states)
public org.hibernate.annotations.common.reflection.XClass getClazz()
public void setClazz(org.hibernate.annotations.common.reflection.XClass clazz)
public boolean hasSiblings()
public void setHasSiblings(boolean hasSiblings)
public boolean hasParents()
public void setHasParents(boolean hasParents)
public javax.persistence.InheritanceType getType()
public void setType(javax.persistence.InheritanceType type)
public boolean isEmbeddableSuperclass()
public void setEmbeddableSuperclass(boolean embeddableSuperclass)
public org.hibernate.annotations.common.reflection.XClass getClassWithIdClass(boolean evenIfSubclass)
public java.lang.Boolean hasIdClassOrEmbeddedId()
public org.hibernate.cfg.InheritanceState.ElementsToProcess getElementsToProcess()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.