public interface CollectionReference
CollectionAttributeFetch.| Modifier and Type | Method and Description | 
|---|---|
boolean | 
allowElementJoin()
Should a collection element join be allowed? Returning  
true
 indicates that an element join can safely be added. | 
boolean | 
allowIndexJoin()
Should a collection index join be allowed? Returning  
true
 indicates that an index join can safely be added. | 
CollectionPersister | 
getCollectionPersister()
Retrieves the CollectionPersister describing the collection associated with this CollectionReference. 
 | 
CollectionFetchableElement | 
getElementGraph()
Retrieve the metadata about the elements of this collection *as a FetchSource*. 
 | 
CollectionFetchableIndex | 
getIndexGraph()
Retrieve the metadata about the index of this collection *as a FetchSource*. 
 | 
PropertyPath | 
getPropertyPath()
Retrieve the PropertyPath to this reference. 
 | 
String | 
getQuerySpaceUid()
Obtain the UID of the QuerySpace (specifically a  
CollectionQuerySpace) that this CollectionReference
 refers to. | 
String getQuerySpaceUid()
CollectionQuerySpace) that this CollectionReference
 refers to.CollectionPersister getCollectionPersister()
CollectionFetchableIndex getIndexGraph()
null when:null.CollectionFetchableElement getElementGraph()
null when the element is not a composite, entity, or "any" (cannot act as a FetchSource).
 Works only for map keys, since a List index cannot be anything other than an int which cannot be a FetchSource.
 null.PropertyPath getPropertyPath()
boolean allowElementJoin()
true
 indicates that an element join can safely be added.boolean allowIndexJoin()
true
 indicates that an index join can safely be added.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.