Package org.hibernate.sql.results.graph
Class AbstractFetchParent
- java.lang.Object
-
- org.hibernate.sql.results.graph.AbstractFetchParent
-
- All Implemented Interfaces:
DomainResultGraphNode
,FetchParent
- Direct Known Subclasses:
AbstractEntityResultGraphNode
,AbstractNonLazyEntityFetch
,AggregateEmbeddableFetchImpl
,AggregateEmbeddableResultImpl
,EmbeddableExpressionResultImpl
,EmbeddableFetchImpl
,EmbeddableForeignKeyResultImpl
,EmbeddableResultImpl
public abstract class AbstractFetchParent extends Object implements FetchParent
-
-
Constructor Summary
Constructors Constructor Description AbstractFetchParent(NavigablePath navigablePath)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
boolean
containsCollectionFetches()
Fetch
findFetch(Fetchable fetchable)
abstract FetchableContainer
getFetchContainer()
ImmutableFetchList
getFetches()
Retrieve the fetches owned by this fetch source.NavigablePath
getNavigablePath()
Get the property path to this parentFetchableContainer
getReferencedMappingContainer()
This parent's mapping typeJavaType<?>
getResultJavaType()
boolean
hasJoinFetches()
protected void
resetFetches(ImmutableFetchList newFetches)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesTo, containsAnyNonScalarResults
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchParent
generateFetchableFetch, getReferencedMappingType, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
AbstractFetchParent
public AbstractFetchParent(NavigablePath navigablePath)
-
-
Method Detail
-
afterInitialize
public void afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
-
resetFetches
protected void resetFetches(ImmutableFetchList newFetches)
-
getFetchContainer
public abstract FetchableContainer getFetchContainer()
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:FetchParent
Get the property path to this parent- Specified by:
getNavigablePath
in interfaceDomainResultGraphNode
- Specified by:
getNavigablePath
in interfaceFetchParent
-
getResultJavaType
public JavaType<?> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
getReferencedMappingContainer
public FetchableContainer getReferencedMappingContainer()
Description copied from interface:FetchParent
This parent's mapping type- Specified by:
getReferencedMappingContainer
in interfaceFetchParent
-
getFetches
public ImmutableFetchList getFetches()
Description copied from interface:FetchParent
Retrieve the fetches owned by this fetch source.- Specified by:
getFetches
in interfaceFetchParent
-
findFetch
public Fetch findFetch(Fetchable fetchable)
- Specified by:
findFetch
in interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()
- Specified by:
hasJoinFetches
in interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetches
in interfaceFetchParent
-
-