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.
- Author:
- Emmanuel Bernard
Constructor Summary |
InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
Mappings mappings)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InheritanceState
public InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
Mappings mappings)
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 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 java.lang.Boolean hasIdClassOrEmbeddedId()
getElementsToProcess
public org.hibernate.cfg.InheritanceState.ElementsToProcess getElementsToProcess()
Copyright © 2011. All Rights Reserved.