|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cfg.InheritanceState
public class InheritanceState
Some extra data to the inheritance position of a class
| Field Summary | |
|---|---|
String |
accessType
only defined on embedded superclasses |
Class |
clazz
|
boolean |
hasParents
a mother entity is available |
boolean |
hasSons
has son either mappedsuperclass son or entity son |
boolean |
isEmbeddableSuperclass
|
Boolean |
isPropertyAnnotated
|
Class |
rootEntity
used only to keep track of the root entity of a embeddedablesuperclass this root entity can vary during the process a embeddable superclass could be the superclass of several entities. |
javax.persistence.InheritanceType |
type
|
| Constructor Summary | |
|---|---|
InheritanceState(Class clazz)
|
|
| Method Summary | |
|---|---|
static InheritanceState |
getSuperclassInheritanceState(Class clazz,
Map<Class,InheritanceState> states)
|
static InheritanceState |
getSuperEntityInheritanceState(Class clazz,
Map<Class,InheritanceState> states)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Class clazz
public boolean hasSons
public boolean hasParents
public javax.persistence.InheritanceType type
public boolean isEmbeddableSuperclass
public Class rootEntity
public String accessType
public Boolean isPropertyAnnotated
| Constructor Detail |
|---|
public InheritanceState(Class clazz)
| Method Detail |
|---|
public static InheritanceState getSuperEntityInheritanceState(Class clazz,
Map<Class,InheritanceState> states)
public static InheritanceState getSuperclassInheritanceState(Class clazz,
Map<Class,InheritanceState> states)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||