类 RootClass
- java.lang.Object
-
- org.hibernate.mapping.PersistentClass
-
- org.hibernate.mapping.RootClass
-
- 所有已实现的接口:
Serializable,AttributeContainer,Filterable,MetaAttributable,TableOwner
public class RootClass extends PersistentClass implements TableOwner
The root class of an inheritance hierarchy- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringDEFAULT_DISCRIMINATOR_COLUMN_NAMEstatic StringDEFAULT_IDENTIFIER_COLUMN_NAME-
从类继承的字段 org.hibernate.mapping.PersistentClass
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables
-
-
构造器概要
构造器 构造器 说明 RootClass(MetadataBuildingContext metadataBuildingContext)
-
方法概要
-
从类继承的方法 org.hibernate.mapping.PersistentClass
addFilter, addJoin, addMappedsuperclassProperty, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getFilters, getIdentifierMapper, getIdentityTable, getJoinClosureIterator, getJoinClosureSpan, getJoinIterator, getJoinNumber, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNonDuplicatedPropertyIterator, getOptimisticLockMode, getOptimisticLockStyle, getProperty, getPropertyClosureSpan, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getServiceRegistry, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getTuplizerImplClassName, getTuplizerMap, getUnjoinedPropertyIterator, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, hasSubselectLoadableCollections, isAbstract, isCached, isCachingExplicitlyRequested, isClassOrSuperclassJoin, isClassOrSuperclassTable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, setAbstract, setBatchSize, setCached, setCachingExplicitlyRequested, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setOptimisticLockMode, setOptimisticLockStyle, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, toString, useDynamicInsert, useDynamicUpdate
-
-
-
-
构造器详细资料
-
RootClass
public RootClass(MetadataBuildingContext metadataBuildingContext)
-
-
方法详细资料
-
getSubclassId
public int getSubclassId()
- 指定者:
getSubclassId在类中PersistentClass
-
setTable
public void setTable(Table table)
- 指定者:
setTable在接口中TableOwner
-
getTable
public Table getTable()
- 指定者:
getTable在类中PersistentClass
-
getIdentifierProperty
public Property getIdentifierProperty()
- 指定者:
getIdentifierProperty在类中PersistentClass
-
getDeclaredIdentifierProperty
public Property getDeclaredIdentifierProperty()
-
setDeclaredIdentifierProperty
public void setDeclaredIdentifierProperty(Property declaredIdentifierProperty)
-
getIdentifier
public KeyValue getIdentifier()
- 指定者:
getIdentifier在类中PersistentClass
-
hasIdentifierProperty
public boolean hasIdentifierProperty()
- 指定者:
hasIdentifierProperty在类中PersistentClass
-
getDiscriminator
public Value getDiscriminator()
- 指定者:
getDiscriminator在类中PersistentClass
-
isInherited
public boolean isInherited()
- 指定者:
isInherited在类中PersistentClass
-
isPolymorphic
public boolean isPolymorphic()
- 指定者:
isPolymorphic在类中PersistentClass
-
setPolymorphic
public void setPolymorphic(boolean polymorphic)
-
getRootClass
public RootClass getRootClass()
- 指定者:
getRootClass在类中PersistentClass
-
getPropertyClosureIterator
public Iterator getPropertyClosureIterator()
-
getTableClosureIterator
public Iterator getTableClosureIterator()
- 指定者:
getTableClosureIterator在类中PersistentClass
-
getKeyClosureIterator
public Iterator getKeyClosureIterator()
- 指定者:
getKeyClosureIterator在类中PersistentClass
-
addSubclass
public void addSubclass(Subclass subclass) throws MappingException
- 覆盖:
addSubclass在类中PersistentClass- 抛出:
MappingException
-
isExplicitPolymorphism
public boolean isExplicitPolymorphism()
- 指定者:
isExplicitPolymorphism在类中PersistentClass
-
getVersion
public Property getVersion()
- 指定者:
getVersion在类中PersistentClass
-
getDeclaredVersion
public Property getDeclaredVersion()
- 指定者:
getDeclaredVersion在类中PersistentClass
-
setDeclaredVersion
public void setDeclaredVersion(Property declaredVersion)
-
setVersion
public void setVersion(Property version)
-
isVersioned
public boolean isVersioned()
- 指定者:
isVersioned在类中PersistentClass
-
isMutable
public boolean isMutable()
- 指定者:
isMutable在类中PersistentClass
-
hasEmbeddedIdentifier
public boolean hasEmbeddedIdentifier()
- 指定者:
hasEmbeddedIdentifier在类中PersistentClass
-
getEntityPersisterClass
public Class getEntityPersisterClass()
- 指定者:
getEntityPersisterClass在类中PersistentClass
-
getRootTable
public Table getRootTable()
- 指定者:
getRootTable在类中PersistentClass
-
setEntityPersisterClass
public void setEntityPersisterClass(Class persister)
- 指定者:
setEntityPersisterClass在类中PersistentClass
-
getSuperclass
public PersistentClass getSuperclass()
- 指定者:
getSuperclass在类中PersistentClass
-
getKey
public KeyValue getKey()
- 指定者:
getKey在类中PersistentClass
-
setDiscriminator
public void setDiscriminator(Value discriminator)
-
setEmbeddedIdentifier
public void setEmbeddedIdentifier(boolean embeddedIdentifier)
-
setExplicitPolymorphism
public void setExplicitPolymorphism(boolean explicitPolymorphism)
-
setIdentifier
public void setIdentifier(KeyValue identifier)
-
setIdentifierProperty
public void setIdentifierProperty(Property identifierProperty)
-
setMutable
public void setMutable(boolean mutable)
-
isDiscriminatorInsertable
public boolean isDiscriminatorInsertable()
- 指定者:
isDiscriminatorInsertable在类中PersistentClass
-
setDiscriminatorInsertable
public void setDiscriminatorInsertable(boolean insertable)
-
isForceDiscriminator
public boolean isForceDiscriminator()
- 覆盖:
isForceDiscriminator在类中PersistentClass
-
setForceDiscriminator
public void setForceDiscriminator(boolean forceDiscriminator)
-
getWhere
public String getWhere()
- 指定者:
getWhere在类中PersistentClass
-
setWhere
public void setWhere(String string)
-
validate
public void validate(Mapping mapping) throws MappingException
- 覆盖:
validate在类中PersistentClass- 抛出:
MappingException
-
getCacheConcurrencyStrategy
public String getCacheConcurrencyStrategy()
-
setCacheConcurrencyStrategy
public void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)
-
getCacheRegionName
public String getCacheRegionName()
-
setCacheRegionName
public void setCacheRegionName(String cacheRegionName)
-
isLazyPropertiesCacheable
public boolean isLazyPropertiesCacheable()
-
setLazyPropertiesCacheable
public void setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)
-
getNaturalIdCacheRegionName
public String getNaturalIdCacheRegionName()
-
setNaturalIdCacheRegionName
public void setNaturalIdCacheRegionName(String naturalIdCacheRegionName)
-
isJoinedSubclass
public boolean isJoinedSubclass()
- 指定者:
isJoinedSubclass在类中PersistentClass
-
getSynchronizedTables
public Set getSynchronizedTables()
- 指定者:
getSynchronizedTables在类中PersistentClass
-
accept
public Object accept(PersistentClassVisitor mv)
- 指定者:
accept在类中PersistentClass
-
-