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

public Class EmbeddableForeignKeyResultImpl<T>

extends AbstractFetchParent
implements EmbeddableResultGraphNode, DomainResult<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.graph.DomainResult, org.hibernate.sql.results.graph.DomainResultGraphNode, org.hibernate.sql.results.graph.embeddable.EmbeddableResultGraphNode, org.hibernate.sql.results.graph.FetchParent
Imports
org.hibernate.engine.FetchTiming, org.hibernate.metamodel.mapping.EmbeddableValuedModelPart, .ForeignKeyDescriptor, .EmbeddableMappingType, .NonAggregatedIdentifierMapping, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.AbstractFetchParent, .AssemblerCreationState, .DomainResult, .DomainResultAssembler, .DomainResultCreationState, .Fetch, .FetchParent, .FetchParentAccess, .Fetchable, org.hibernate.sql.results.graph.embeddable.EmbeddableInitializer, .EmbeddableResultGraphNode

Author
Andrea Boriero

Field Summary

Modifier and TypeField and Description
private final EmbeddableMappingType
private final FetchParent
private final String

Constructor Summary

AccessConstructor and Description
public
EmbeddableForeignKeyResultImpl(NavigablePath navigablePath, EmbeddableValuedModelPart embeddableValuedModelPart, String resultVariable, FetchParent fetchParent, DomainResultCreationState creationState)

Method Summary

Modifier and TypeMethod and Description
public boolean
containsAnyNonScalarResults()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.containsAnyNonScalarResults.

Does this node contain any non-scalar (sub-)results?
public DomainResultAssembler<T>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Create an assembler (and any initializers) for this result.
public Fetch
generateFetchableFetch(Fetchable fetchable, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState)

Overrides default org.hibernate.sql.results.graph.FetchParent.generateFetchableFetch.

public EmbeddableMappingType
public EmbeddableValuedModelPart
public EmbeddableMappingType
public String
getResultVariable()

Implements org.hibernate.sql.results.graph.DomainResult.getResultVariable.

The result-variable (alias) associated with this result.
public FetchParent
Inherited from org.hibernate.sql.results.graph.AbstractFetchParent:
afterInitializecontainsCollectionFetchesfindFetchgetFetchesgetNavigablePathgetResultJavaTypehasJoinFetchesresetFetches

Field Detail

fetchContainerback to summary
private final EmbeddableMappingType fetchContainer
fetchParentback to summary
private final FetchParent fetchParent
resultVariableback to summary
private final String resultVariable

Constructor Detail

EmbeddableForeignKeyResultImplback to summary
public EmbeddableForeignKeyResultImpl(NavigablePath navigablePath, EmbeddableValuedModelPart embeddableValuedModelPart, String resultVariable, FetchParent fetchParent, DomainResultCreationState creationState)

Method Detail

containsAnyNonScalarResultsback to summary
public boolean containsAnyNonScalarResults()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.containsAnyNonScalarResults.

Doc from org.hibernate.sql.results.graph.DomainResultGraphNode.containsAnyNonScalarResults.

Does this node contain any non-scalar (sub-)results?

Annotations
@Override
createResultAssemblerback to summary
public DomainResultAssembler<T> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Doc from org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Create an assembler (and any initializers) for this result.

Annotations
@Override
generateFetchableFetchback to summary
public Fetch generateFetchableFetch(Fetchable fetchable, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState)

Overrides default org.hibernate.sql.results.graph.FetchParent.generateFetchableFetch.

Annotations
@Override
getFetchContainerback to summary
public EmbeddableMappingType getFetchContainer()

Implements abstract org.hibernate.sql.results.graph.AbstractFetchParent.getFetchContainer.

Annotations
@Override
getReferencedMappingContainerback to summary
public EmbeddableValuedModelPart getReferencedMappingContainer()

Overrides org.hibernate.sql.results.graph.AbstractFetchParent.getReferencedMappingContainer.

Implements org.hibernate.sql.results.graph.embeddable.EmbeddableResultGraphNode.getReferencedMappingContainer, org.hibernate.sql.results.graph.FetchParent.getReferencedMappingContainer.

Doc from org.hibernate.sql.results.graph.FetchParent.getReferencedMappingContainer.

This parent's mapping type

Annotations
@Override
getReferencedMappingTypeback to summary
public EmbeddableMappingType getReferencedMappingType()

Implements org.hibernate.sql.results.graph.embeddable.EmbeddableResultGraphNode.getReferencedMappingType, org.hibernate.sql.results.graph.FetchParent.getReferencedMappingType.

Doc from org.hibernate.sql.results.graph.FetchParent.getReferencedMappingType.

This parent's mapping type

Annotations
@Override
getResultVariableback to summary
public String getResultVariable()

Implements org.hibernate.sql.results.graph.DomainResult.getResultVariable.

Doc from org.hibernate.sql.results.graph.DomainResult.getResultVariable.

The result-variable (alias) associated with this result.

Annotations
@Override
getRootback to summary
public FetchParent getRoot()

Overrides default org.hibernate.sql.results.graph.FetchParent.getRoot.

Annotations
@Override