Class CompoundNaturalIdMapping.DomainResultImpl
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.CompoundNaturalIdMapping.DomainResultImpl
-
- All Implemented Interfaces:
DomainResult<Object[]>,DomainResultGraphNode,FetchParent
- Enclosing class:
- CompoundNaturalIdMapping
public static class CompoundNaturalIdMapping.DomainResultImpl extends Object implements DomainResult<Object[]>, FetchParent
-
-
Constructor Summary
Constructors Constructor Description DomainResultImpl(NavigablePath navigablePath, CompoundNaturalIdMapping naturalIdMapping, JavaType<Object[]> arrayJtd, String resultVariable, DomainResultCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsCollectionFetches()DomainResultAssembler<Object[]>createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)Create an assembler (and any initializers) for this result.FetchfindFetch(Fetchable fetchable)ImmutableFetchListgetFetches()Retrieve the fetches owned by this fetch source.NavigablePathgetNavigablePath()The NavigablePath for this node (if one!).FetchableContainergetReferencedMappingContainer()This parent's mapping typeFetchableContainergetReferencedMappingType()This parent's mapping typeJavaType<Object[]>getResultJavaType()StringgetResultVariable()The result-variable (alias) associated with this result.booleanhasJoinFetches()-
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, getReferencedModePart, getRoot, resolveNavigablePath
-
-
-
-
Constructor Detail
-
DomainResultImpl
public DomainResultImpl(NavigablePath navigablePath, CompoundNaturalIdMapping naturalIdMapping, JavaType<Object[]> arrayJtd, String resultVariable, DomainResultCreationState creationState)
-
-
Method Detail
-
getResultVariable
public String getResultVariable()
Description copied from interface:DomainResultThe result-variable (alias) associated with this result.- Specified by:
getResultVariablein interfaceDomainResult<Object[]>
-
createResultAssembler
public DomainResultAssembler<Object[]> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult<Object[]>
-
getResultJavaType
public JavaType<Object[]> getResultJavaType()
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode
-
getReferencedMappingContainer
public FetchableContainer getReferencedMappingContainer()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingContainerin interfaceFetchParent
-
getReferencedMappingType
public FetchableContainer getReferencedMappingType()
Description copied from interface:FetchParentThis parent's mapping type- Specified by:
getReferencedMappingTypein interfaceFetchParent
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:DomainResultGraphNodeThe NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePathin interfaceDomainResultGraphNode- Specified by:
getNavigablePathin interfaceFetchParent
-
getFetches
public ImmutableFetchList getFetches()
Description copied from interface:FetchParentRetrieve the fetches owned by this fetch source.- Specified by:
getFetchesin interfaceFetchParent
-
findFetch
public Fetch findFetch(Fetchable fetchable)
- Specified by:
findFetchin interfaceFetchParent
-
hasJoinFetches
public boolean hasJoinFetches()
- Specified by:
hasJoinFetchesin interfaceFetchParent
-
containsCollectionFetches
public boolean containsCollectionFetches()
- Specified by:
containsCollectionFetchesin interfaceFetchParent
-
-