public class InheritanceState extends Object
Constructor and Description |
---|
InheritanceState(XClass clazz,
Map<XClass,InheritanceState> inheritanceStatePerClass,
MetadataBuildingContext buildingContext) |
Modifier and Type | Method and Description |
---|---|
XClass |
getClassWithIdClass(boolean evenIfSubclass) |
XClass |
getClazz() |
org.hibernate.cfg.InheritanceState.ElementsToProcess |
getElementsToProcess() |
static InheritanceState |
getInheritanceStateOfSuperEntity(XClass clazz,
Map<XClass,InheritanceState> states) |
static InheritanceState |
getSuperclassInheritanceState(XClass clazz,
Map<XClass,InheritanceState> states) |
InheritanceType |
getType() |
Boolean |
hasIdClassOrEmbeddedId() |
boolean |
hasParents() |
boolean |
hasSiblings() |
boolean |
isEmbeddableSuperclass() |
void |
setClazz(XClass clazz) |
void |
setEmbeddableSuperclass(boolean embeddableSuperclass) |
void |
setHasParents(boolean hasParents) |
void |
setHasSiblings(boolean hasSiblings) |
void |
setType(InheritanceType type) |
public InheritanceState(XClass clazz, Map<XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
public static InheritanceState getInheritanceStateOfSuperEntity(XClass clazz, Map<XClass,InheritanceState> states)
public static InheritanceState getSuperclassInheritanceState(XClass clazz, Map<XClass,InheritanceState> states)
public XClass getClazz()
public void setClazz(XClass clazz)
public boolean hasSiblings()
public void setHasSiblings(boolean hasSiblings)
public boolean hasParents()
public void setHasParents(boolean hasParents)
public InheritanceType getType()
public void setType(InheritanceType type)
public boolean isEmbeddableSuperclass()
public void setEmbeddableSuperclass(boolean embeddableSuperclass)
public XClass getClassWithIdClass(boolean evenIfSubclass)
public Boolean hasIdClassOrEmbeddedId()
public org.hibernate.cfg.InheritanceState.ElementsToProcess getElementsToProcess()
Copyright © 2019 JBoss by Red Hat. All rights reserved.