接口 FetchSource
-
- 所有已知子接口:
AnyAttributeFetch,BidirectionalEntityReference,CollectionFetchableElement,CollectionFetchableIndex,CompositeAttributeFetch,CompositeFetch,EntityFetch,EntityReference,EntityReturn,ExpandingEntityIdentifierDescription,ExpandingFetchSource
- 所有已知实现类:
AbstractAnyReference,AbstractCompositeEntityIdentifierDescription,AbstractCompositeFetch,AbstractCompositeReference,AbstractEntityReference,AbstractExpandingFetchSource,AnyAttributeFetchImpl,BidirectionalEntityReferenceImpl,CollectionFetchableElementAnyGraph,CollectionFetchableElementCompositeGraph,CollectionFetchableElementEntityGraph,CollectionFetchableIndexAnyGraph,CollectionFetchableIndexCompositeGraph,CollectionFetchableIndexEntityGraph,CompositeAttributeFetchImpl,EncapsulatedEntityIdentifierDescription,EntityAttributeFetchImpl,EntityReturnImpl,NestedCompositeAttributeFetchImpl,NonEncapsulatedEntityIdentifierDescription
public interface FetchSourceContract for a FetchSource (aka, the thing that owns the fetched attribute).- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 BidirectionalEntityReference[]getBidirectionalEntityReferences()Retrieve the bidirectional entity references owned by this fetch source.Fetch[]getFetches()Retrieve the fetches owned by this fetch source.PropertyPathgetPropertyPath()Get the property path to this fetch sourceStringgetQuerySpaceUid()Get the UID for this fetch source's query space.EntityReferenceresolveEntityReference()Resolve the "current"EntityReference, or null if none.
-
-
-
方法详细资料
-
getPropertyPath
PropertyPath getPropertyPath()
Get the property path to this fetch source- 返回:
- The property path
-
getQuerySpaceUid
String getQuerySpaceUid()
Get the UID for this fetch source's query space.- 返回:
- The query space UID.
-
getFetches
Fetch[] getFetches()
Retrieve the fetches owned by this fetch source.- 返回:
- The owned fetches.
-
getBidirectionalEntityReferences
BidirectionalEntityReference[] getBidirectionalEntityReferences()
Retrieve the bidirectional entity references owned by this fetch source.- 返回:
- The owned bidirectional entity references.
-
resolveEntityReference
EntityReference resolveEntityReference()
Resolve 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.- 返回:
- the "current" EntityReference or null if none. .
-
-