public class InheritanceState extends Object
| 构造器和说明 |
|---|
InheritanceState(cn.sexycode.util.core.cls.XClass clazz,
Map<cn.sexycode.util.core.cls.XClass,InheritanceState> inheritanceStatePerClass,
MetadataBuildingContext buildingContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.sexycode.util.core.cls.XClass |
getClassWithIdClass(boolean evenIfSubclass) |
cn.sexycode.util.core.cls.XClass |
getClazz() |
static InheritanceState |
getInheritanceStateOfSuperEntity(cn.sexycode.util.core.cls.XClass clazz,
Map<cn.sexycode.util.core.cls.XClass,InheritanceState> states) |
static InheritanceState |
getSuperclassInheritanceState(cn.sexycode.util.core.cls.XClass clazz,
Map<cn.sexycode.util.core.cls.XClass,InheritanceState> states) |
javax.persistence.InheritanceType |
getType() |
(专用程序包) boolean |
hasDenormalizedTable() |
boolean |
hasParents() |
boolean |
hasSiblings() |
(专用程序包) boolean |
hasTable() |
boolean |
isEmbeddableSuperclass() |
void |
setClazz(cn.sexycode.util.core.cls.XClass clazz) |
void |
setEmbeddableSuperclass(boolean embeddableSuperclass) |
void |
setHasParents(boolean hasParents) |
void |
setHasSiblings(boolean hasSiblings) |
void |
setType(javax.persistence.InheritanceType type) |
public InheritanceState(cn.sexycode.util.core.cls.XClass clazz,
Map<cn.sexycode.util.core.cls.XClass,InheritanceState> inheritanceStatePerClass,
MetadataBuildingContext buildingContext)
boolean hasTable()
boolean hasDenormalizedTable()
public static InheritanceState getInheritanceStateOfSuperEntity(cn.sexycode.util.core.cls.XClass clazz, Map<cn.sexycode.util.core.cls.XClass,InheritanceState> states)
public static InheritanceState getSuperclassInheritanceState(cn.sexycode.util.core.cls.XClass clazz, Map<cn.sexycode.util.core.cls.XClass,InheritanceState> states)
public cn.sexycode.util.core.cls.XClass getClazz()
public void setClazz(cn.sexycode.util.core.cls.XClass clazz)
public boolean hasSiblings()
public void setHasSiblings(boolean hasSiblings)
public boolean hasParents()
public void setHasParents(boolean hasParents)
public javax.persistence.InheritanceType getType()
public void setType(javax.persistence.InheritanceType type)
public boolean isEmbeddableSuperclass()
public void setEmbeddableSuperclass(boolean embeddableSuperclass)
public cn.sexycode.util.core.cls.XClass getClassWithIdClass(boolean evenIfSubclass)
Copyright © 2019. All rights reserved.