类 EntityHierarchySourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.EntityHierarchySourceImpl
-
- 所有已实现的接口:
EntityHierarchySource
public class EntityHierarchySourceImpl extends Object implements EntityHierarchySource
Models an entity hierarchy as defined byhbm.xmldocuments- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 EntityHierarchySourceImpl(RootEntitySourceImpl rootEntitySource)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected JaxbHbmRootEntityTypeentityElement()CachinggetCaching()Obtain the caching configuration for this entity.Set<String>getContainedEntityNames()DiscriminatorSourcegetDiscriminatorSource()Obtain the source information about the discriminator attribute for single table inheritanceEntityModegetEntityMode()Obtain the entity mode for this entity.InheritanceTypegetHierarchyInheritanceType()The inheritance type/strategy for the hierarchy.IdentifierSourcegetIdentifierSource()Obtain source information about this entity's identifier.MultiTenancySourcegetMultiTenancySource()Obtain the source information about the multi-tenancy discriminator for this entityCachinggetNaturalIdCaching()Obtain the natural id caching configuration for this entity.OptimisticLockStylegetOptimisticLockStyle()Obtain the optimistic locking style for this entity.RootEntitySourceImplgetRoot()Obtain the hierarchy's root type source.StringgetRowId()Obtain the row-id name for this entityVersionAttributeSourcegetVersionAttributeSource()Obtain the source information about the attribute used for optimistic locking.StringgetWhere()Obtain the specified extra where condition to be applied to this entity.booleanisExplicitPolymorphism()Should explicit polymorphism (querying) be applied to this entity?booleanisMutable()Is this root entity mutable?voidprocessSubclass(SubclassEntitySourceImpl subclassEntitySource)
-
-
-
构造器详细资料
-
EntityHierarchySourceImpl
public EntityHierarchySourceImpl(RootEntitySourceImpl rootEntitySource)
-
-
方法详细资料
-
getHierarchyInheritanceType
public InheritanceType getHierarchyInheritanceType()
从接口复制的说明:EntityHierarchySourceThe inheritance type/strategy for the hierarchy. NOTE : The entire hierarchy must comply with the same inheritance strategy.- 指定者:
getHierarchyInheritanceType在接口中EntityHierarchySource- 返回:
- The inheritance type.
-
getRoot
public RootEntitySourceImpl getRoot()
从接口复制的说明:EntityHierarchySourceObtain the hierarchy's root type source.- 指定者:
getRoot在接口中EntityHierarchySource- 返回:
- The root type source.
-
processSubclass
public void processSubclass(SubclassEntitySourceImpl subclassEntitySource)
-
entityElement
protected JaxbHbmRootEntityType entityElement()
-
getIdentifierSource
public IdentifierSource getIdentifierSource()
从接口复制的说明:EntityHierarchySourceObtain source information about this entity's identifier.- 指定者:
getIdentifierSource在接口中EntityHierarchySource- 返回:
- Identifier source information.
-
getVersionAttributeSource
public VersionAttributeSource getVersionAttributeSource()
从接口复制的说明:EntityHierarchySourceObtain the source information about the attribute used for optimistic locking.- 指定者:
getVersionAttributeSource在接口中EntityHierarchySource- 返回:
- the source information about the attribute used for optimistic locking
-
getEntityMode
public EntityMode getEntityMode()
从接口复制的说明:EntityHierarchySourceObtain the entity mode for this entity.- 指定者:
getEntityMode在接口中EntityHierarchySource- 返回:
- The entity mode.
-
isMutable
public boolean isMutable()
从接口复制的说明:EntityHierarchySourceIs this root entity mutable?- 指定者:
isMutable在接口中EntityHierarchySource- 返回:
trueindicates mutable;falsenon-mutable.
-
isExplicitPolymorphism
public boolean isExplicitPolymorphism()
从接口复制的说明:EntityHierarchySourceShould explicit polymorphism (querying) be applied to this entity?- 指定者:
isExplicitPolymorphism在接口中EntityHierarchySource- 返回:
trueindicates explicit polymorphism;falseimplicit.
-
getWhere
public String getWhere()
从接口复制的说明:EntityHierarchySourceObtain the specified extra where condition to be applied to this entity.- 指定者:
getWhere在接口中EntityHierarchySource- 返回:
- The extra where condition
-
getRowId
public String getRowId()
从接口复制的说明:EntityHierarchySourceObtain the row-id name for this entity- 指定者:
getRowId在接口中EntityHierarchySource- 返回:
- The row-id name
-
getOptimisticLockStyle
public OptimisticLockStyle getOptimisticLockStyle()
从接口复制的说明:EntityHierarchySourceObtain the optimistic locking style for this entity.- 指定者:
getOptimisticLockStyle在接口中EntityHierarchySource- 返回:
- The optimistic locking style.
-
getCaching
public Caching getCaching()
从接口复制的说明:EntityHierarchySourceObtain the caching configuration for this entity.- 指定者:
getCaching在接口中EntityHierarchySource- 返回:
- The caching configuration.
-
getNaturalIdCaching
public Caching getNaturalIdCaching()
从接口复制的说明:EntityHierarchySourceObtain the natural id caching configuration for this entity.- 指定者:
getNaturalIdCaching在接口中EntityHierarchySource- 返回:
- The natural id caching configuration.
-
getDiscriminatorSource
public DiscriminatorSource getDiscriminatorSource()
从接口复制的说明:EntityHierarchySourceObtain the source information about the discriminator attribute for single table inheritance- 指定者:
getDiscriminatorSource在接口中EntityHierarchySource- 返回:
- the source information about the discriminator attribute for single table inheritance
-
getMultiTenancySource
public MultiTenancySource getMultiTenancySource()
从接口复制的说明:EntityHierarchySourceObtain the source information about the multi-tenancy discriminator for this entity- 指定者:
getMultiTenancySource在接口中EntityHierarchySource- 返回:
- the source information about the multi-tenancy discriminator for this entity
-
-