public abstract class AbstractCompositeReference extends AbstractExpandingFetchSource
Modifier | Constructor and Description |
---|---|
protected |
AbstractCompositeReference(ExpandingCompositeQuerySpace compositeQuerySpace,
boolean allowCollectionFetches,
PropertyPath propertyPath) |
Modifier and Type | Method and Description |
---|---|
CollectionAttributeFetch |
buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for a collection attribute.
|
protected CompositeAttributeFetch |
createCompositeAttributeFetch(AttributeDefinition attributeDefinition,
ExpandingCompositeQuerySpace compositeQuerySpace) |
void |
validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveEntityReference
protected AbstractCompositeReference(ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches, PropertyPath propertyPath)
public void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
ExpandingFetchSource
fetchStrategy
- The type of fetch to validate.attributeDefinition
- The attribute to be fetched.protected CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)
createCompositeAttributeFetch
in class AbstractExpandingFetchSource
public CollectionAttributeFetch buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
ExpandingFetchSource
buildCollectionAttributeFetch
in interface ExpandingFetchSource
buildCollectionAttributeFetch
in class AbstractExpandingFetchSource
attributeDefinition
- The attribute definition.fetchStrategy
- The fetch strategy for the attribute.Copyright © 2019 JBoss by Red Hat. All rights reserved.