public class CollectionFetchableElementCompositeGraph extends AbstractCompositeReference implements CollectionFetchableElement
Constructor and Description |
---|
CollectionFetchableElementCompositeGraph(CollectionReference collectionReference,
ExpandingCompositeQuerySpace compositeQuerySpace) |
Modifier and Type | Method and Description |
---|---|
CollectionReference |
getCollectionReference()
Reference back to the collection to which this element belongs
|
EntityReference |
resolveEntityReference()
Resolve the "current"
EntityReference , or null if none. |
buildCollectionAttributeFetch, createCompositeAttributeFetch, validateFetchPlan
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
public CollectionFetchableElementCompositeGraph(CollectionReference collectionReference, ExpandingCompositeQuerySpace compositeQuerySpace)
public CollectionReference getCollectionReference()
CollectionFetchableElement
getCollectionReference
in interface CollectionFetchableElement
public EntityReference resolveEntityReference()
FetchSource
EntityReference
, or null if none.
If this object is an EntityReference
, then this object is returned;
otherwise, if this object is a Fetch
, then the nearest
EntityReference
will be resolved from its source, if possible.
If no EntityReference can be resolved, null is return.resolveEntityReference
in interface FetchSource
Fetch.getSource().
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.