public class

InheritanceState

extends Object
java.lang.Object
   ↳ org.hibernate.cfg.InheritanceState

Class Overview

Some extra data to the inheritance position of a class.

Summary

Public Constructors
InheritanceState(XClass clazz, Map<XClass, InheritanceState> inheritanceStatePerClass, Mappings mappings)
Public Methods
XClass getClassWithIdClass(boolean evenIfSubclass)
XClass getClazz()
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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public InheritanceState (XClass clazz, Map<XClass, InheritanceState> inheritanceStatePerClass, Mappings mappings)

Public Methods

public XClass getClassWithIdClass (boolean evenIfSubclass)

public XClass getClazz ()

public InheritanceState.ElementsToProcess getElementsToProcess ()

public static InheritanceState getInheritanceStateOfSuperEntity (XClass clazz, Map<XClass, InheritanceState> states)

public static InheritanceState getSuperclassInheritanceState (XClass clazz, Map<XClass, InheritanceState> states)

public InheritanceType getType ()

public Boolean hasIdClassOrEmbeddedId ()

public boolean hasParents ()

public boolean hasSiblings ()

public boolean isEmbeddableSuperclass ()

public void setClazz (XClass clazz)

public void setEmbeddableSuperclass (boolean embeddableSuperclass)

public void setHasParents (boolean hasParents)

public void setHasSiblings (boolean hasSiblings)

public void setType (InheritanceType type)