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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
public 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(XClass clazz)
getSuperEntityInheritanceState
public static InheritanceState getSuperEntityInheritanceState(XClass clazz,
Map<XClass,InheritanceState> states)
getSuperclassInheritanceState
public static InheritanceState getSuperclassInheritanceState(XClass clazz,
Map<XClass,InheritanceState> states)