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, getQuerySpaceUidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveEntityReferenceprotected AbstractCompositeReference(ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches, PropertyPath propertyPath)
public void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
ExpandingFetchSourcefetchStrategy - The type of fetch to validate.attributeDefinition - The attribute to be fetched.protected CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)
createCompositeAttributeFetch in class AbstractExpandingFetchSourcepublic CollectionAttributeFetch buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
ExpandingFetchSourcebuildCollectionAttributeFetch in interface ExpandingFetchSourcebuildCollectionAttributeFetch in class AbstractExpandingFetchSourceattributeDefinition - The attribute definition.fetchStrategy - The fetch strategy for the attribute.Copyright © 2018 JBoss by Red Hat. All rights reserved.