Top Fields Constructors Methods
org.hibernate.sql.results.graph.collection.internal

public abstract Class CollectionFetch

extends Object
implements Fetch
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.graph.Fetch, org.hibernate.sql.results.graph.DomainResultGraphNode
Known Direct Subclasses
org.hibernate.sql.results.graph.collection.internal.DelayedCollectionFetch, org.hibernate.sql.results.graph.collection.internal.EagerCollectionFetch, org.hibernate.sql.results.graph.collection.internal.SelectEagerCollectionFetch
Imports
org.hibernate.metamodel.mapping.PluralAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.Fetch, .FetchParent

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PluralAttributeMapping
private final NavigablePath
private final FetchParent

Constructor Summary

AccessConstructor and Description
public
CollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent)

Method Summary

Modifier and TypeMethod and Description
public PluralAttributeMapping
public FetchParent
getFetchParent()

Implements org.hibernate.sql.results.graph.Fetch.getFetchParent.

Obtain the owner of this fetch.
public NavigablePath
getNavigablePath()

Implements org.hibernate.sql.results.graph.Fetch.getNavigablePath.

Get the property path to this fetch
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fetchedAttributeback to summary
private final PluralAttributeMapping fetchedAttribute
fetchedPathback to summary
private final NavigablePath fetchedPath
fetchParentback to summary
private final FetchParent fetchParent

Constructor Detail

CollectionFetchback to summary
public CollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent)

Method Detail

getFetchedMappingback to summary
public PluralAttributeMapping getFetchedMapping()

Implements org.hibernate.sql.results.graph.Fetch.getFetchedMapping.

Doc from org.hibernate.sql.results.graph.Fetch.getFetchedMapping.

The value mapping being fetched

Annotations
@Override
getFetchParentback to summary
public FetchParent getFetchParent()

Implements org.hibernate.sql.results.graph.Fetch.getFetchParent.

Doc from org.hibernate.sql.results.graph.Fetch.getFetchParent.

Obtain the owner of this fetch. Ultimately used to identify the thing that "owns" this fetched navigable for the purpose of:

* identifying the associated owner reference as we process the fetch * inject the fetched instance into the parent and potentially inject the parent reference into the fetched instance if it defines such injection (e.g. org.hibernate.annotations.Parent)

Annotations
@Override
getNavigablePathback to summary
public NavigablePath getNavigablePath()

Implements org.hibernate.sql.results.graph.Fetch.getNavigablePath.

Doc from org.hibernate.sql.results.graph.Fetch.getNavigablePath.

Get the property path to this fetch

Returns:NavigablePath

The property path

Annotations
@Override