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
,EmbeddableFetchImpl
,EmbeddableForeignKeyResultImpl
,EmbeddableResultImpl
public abstract class AbstractFetchParent extends Object implements FetchParent
-
-
Constructor Summary
Constructors Constructor Description AbstractFetchParent(FetchableContainer fetchContainer, NavigablePath navigablePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
Fetch
findFetch(Fetchable fetchable)
FetchableContainer
getFetchContainer()
List<Fetch>
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()
protected void
resetFetches(List<Fetch> 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(FetchableContainer fetchContainer, NavigablePath navigablePath)
-
-
Method Detail
-
afterInitialize
public void afterInitialize(FetchParent fetchParent, DomainResultCreationState creationState)
-
getFetchContainer
public 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 List<Fetch> 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
-
-