类 AbstractEntityReference
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
-
- org.hibernate.loader.plan.build.internal.returns.AbstractEntityReference
-
- 所有已实现的接口:
ExpandingFetchSource,EntityReference,FetchSource
- 直接已知子类:
CollectionFetchableElementEntityGraph,CollectionFetchableIndexEntityGraph,EntityAttributeFetchImpl,EntityReturnImpl
public abstract class AbstractEntityReference extends AbstractExpandingFetchSource implements EntityReference
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractEntityReference(ExpandingEntityQuerySpace entityQuerySpace, PropertyPath propertyPath)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected CompositeAttributeFetchcreateCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)EntityPersistergetEntityPersister()Retrieves the EntityPersister describing the entity associated with this Return.EntityIdentifierDescriptiongetIdentifierDescription()Get the description of this entity's identifier descriptor.EntityReferenceresolveEntityReference()Resolve the "current"EntityReference, or null if none.-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.spi.EntityReference
getQuerySpaceUid
-
从接口继承的方法 org.hibernate.loader.plan.build.spi.ExpandingFetchSource
validateFetchPlan
-
从接口继承的方法 org.hibernate.loader.plan.spi.FetchSource
getBidirectionalEntityReferences, getFetches, getPropertyPath
-
-
-
-
构造器详细资料
-
AbstractEntityReference
public AbstractEntityReference(ExpandingEntityQuerySpace entityQuerySpace, PropertyPath propertyPath)
-
-
方法详细资料
-
resolveEntityReference
public EntityReference resolveEntityReference()
从接口复制的说明:FetchSourceResolve the "current"EntityReference, or null if none. If this object is anEntityReference, then this object is returned; otherwise, if this object is aFetch, then the nearestEntityReferencewill be resolved from its source, if possible. If no EntityReference can be resolved, null is return.- 指定者:
resolveEntityReference在接口中FetchSource- 返回:
- the "current" EntityReference or null if none. .
-
getEntityPersister
public EntityPersister getEntityPersister()
从接口复制的说明:EntityReferenceRetrieves the EntityPersister describing the entity associated with this Return.- 指定者:
getEntityPersister在接口中EntityReference- 返回:
- The EntityPersister.
-
getIdentifierDescription
public EntityIdentifierDescription getIdentifierDescription()
从接口复制的说明:EntityReferenceGet the description of this entity's identifier descriptor.- 指定者:
getIdentifierDescription在接口中EntityReference- 返回:
- The identifier description.
-
createCompositeAttributeFetch
protected CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)
-
-