public class CollectionFetchableElementAnyGraph extends AbstractAnyReference implements CollectionFetchableElement
Constructor and Description |
---|
CollectionFetchableElementAnyGraph(CollectionReference collectionReference) |
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. |
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
public CollectionFetchableElementAnyGraph(CollectionReference collectionReference)
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 © 2016 JBoss by Red Hat. All rights reserved.