public interface ExpandingFetchSource extends FetchSource
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.
|
void |
validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid, resolveEntityReference
void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
fetchStrategy
- The type of fetch to validate.attributeDefinition
- The attribute to be fetched.EntityFetch buildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
attributeDefinition
- The entity attribute.fetchStrategy
- The fetch strategy for the attribute.BidirectionalEntityReference buildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, EntityReference targetEntityReference)
attributeDefinition
- The attribute definition.fetchStrategy
- The fetch strategy for the attribute.targetEntityReference
- The associated (target) entity reference.CompositeAttributeFetch buildCompositeAttributeFetch(AttributeDefinition attributeDefinition)
attributeDefinition
- The attribute definition.CollectionAttributeFetch buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
attributeDefinition
- The attribute definition.fetchStrategy
- The fetch strategy for the attribute.AnyAttributeFetch buildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
attributeDefinition
- The attribute definition.fetchStrategy
- The fetch strategy for the attibute.Copyright © 2021 JBoss by Red Hat. All rights reserved.