public abstract class AbstractExpandingFetchSource extends Object implements ExpandingFetchSource
| Constructor and Description |
|---|
AbstractExpandingFetchSource(ExpandingQuerySpace querySpace,
PropertyPath propertyPath) |
| Modifier and Type | Method and Description |
|---|---|
AnyAttributeFetch |
buildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for an "any" attribute.
|
BidirectionalEntityReference |
buildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
EntityReference targetEntityReference)
Builds a bidirectional entity reference for an entity attribute.
|
CollectionAttributeFetch |
buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for a collection attribute.
|
CompositeAttributeFetch |
buildCompositeAttributeFetch(AttributeDefinition attributeDefinition)
Builds a fetch for a composite attribute.
|
EntityFetch |
buildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for an entity attribute.
|
protected abstract CompositeAttributeFetch |
createCompositeAttributeFetch(AttributeDefinition compositeType,
ExpandingCompositeQuerySpace compositeQuerySpace) |
protected ExpandingQuerySpace |
expandingQuerySpace() |
BidirectionalEntityReference[] |
getBidirectionalEntityReferences()
Retrieve the bidirectional entity references owned by this fetch source.
|
Fetch[] |
getFetches()
Retrieve the fetches owned by this fetch source.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch source
|
protected ExpandingQuerySpaces |
getQuerySpaces() |
String |
getQuerySpaceUid()
Get the UID for this fetch source's query space.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateFetchPlanresolveEntityReferencepublic AbstractExpandingFetchSource(ExpandingQuerySpace querySpace, PropertyPath propertyPath)
public final String getQuerySpaceUid()
FetchSourcegetQuerySpaceUid in interface FetchSourceprotected final ExpandingQuerySpace expandingQuerySpace()
public final PropertyPath getPropertyPath()
FetchSourcegetPropertyPath in interface FetchSourcepublic Fetch[] getFetches()
FetchSourcegetFetches in interface FetchSourcepublic BidirectionalEntityReference[] getBidirectionalEntityReferences()
FetchSourcegetBidirectionalEntityReferences in interface FetchSourcepublic EntityFetch buildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
ExpandingFetchSourcebuildEntityAttributeFetch in interface ExpandingFetchSourceattributeDefinition - The entity attribute.fetchStrategy - The fetch strategy for the attribute.public BidirectionalEntityReference buildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, EntityReference targetEntityReference)
ExpandingFetchSourcebuildBidirectionalEntityReference in interface ExpandingFetchSourceattributeDefinition - The attribute definition.fetchStrategy - The fetch strategy for the attribute.targetEntityReference - The associated (target) entity reference.protected abstract CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition compositeType, ExpandingCompositeQuerySpace compositeQuerySpace)
protected ExpandingQuerySpaces getQuerySpaces()
public CompositeAttributeFetch buildCompositeAttributeFetch(AttributeDefinition attributeDefinition)
ExpandingFetchSourcebuildCompositeAttributeFetch in interface ExpandingFetchSourceattributeDefinition - The attribute definition.public CollectionAttributeFetch buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
ExpandingFetchSourcebuildCollectionAttributeFetch in interface ExpandingFetchSourceattributeDefinition - The attribute definition.fetchStrategy - The fetch strategy for the attribute.public AnyAttributeFetch buildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
ExpandingFetchSourcebuildAnyAttributeFetch in interface ExpandingFetchSourceattributeDefinition - The attribute definition.fetchStrategy - The fetch strategy for the attibute.Copyright © 2018 JBoss by Red Hat. All rights reserved.