org.hibernate.cfg
Class InheritanceState
java.lang.Object
org.hibernate.cfg.InheritanceState
public class InheritanceState
- extends Object
Some extra data to the inheritance position of a class
- Author:
- Emmanuel Bernard
Constructor Summary |
InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
public org.hibernate.annotations.common.reflection.XClass clazz
hasSons
public boolean hasSons
- has son either mappedsuperclass son or entity son
hasParents
public boolean hasParents
- a mother entity is available
type
public javax.persistence.InheritanceType type
isEmbeddableSuperclass
public boolean isEmbeddableSuperclass
accessType
public String accessType
- only defined on embedded superclasses
isPropertyAnnotated
public Boolean isPropertyAnnotated
InheritanceState
public InheritanceState(org.hibernate.annotations.common.reflection.XClass clazz)
getSuperEntityInheritanceState
public static InheritanceState getSuperEntityInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states,
org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)
getSuperclassInheritanceState
public static InheritanceState getSuperclassInheritanceState(org.hibernate.annotations.common.reflection.XClass clazz,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> states,
org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)