Top Description Constructors Methods
org.hibernate.graph.internal

public Class SubGraphImpl<J>

extends AbstractGraph<J>
implements SubGraphImplementor<J>
Class Inheritance
All Implemented Interfaces
org.hibernate.graph.spi.SubGraphImplementor, org.hibernate.graph.spi.GraphImplementor, org.hibernate.graph.spi.GraphNodeImplementor, org.hibernate.graph.GraphNode, org.hibernate.graph.Graph, org.hibernate.graph.SubGraph, jakarta.persistence.Subgraph
Imports
org.hibernate.graph.spi.SubGraphImplementor, org.hibernate.metamodel.model.domain.ManagedDomainType

Implementation of the JPA-defined jakarta.persistence.Subgraph interface.
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
SubGraphImpl(ManagedDomainType<J> managedType, boolean mutable)

public
SubGraphImpl(AbstractGraph<J> original, boolean mutable)

Method Summary

Modifier and TypeMethod and Description
public <AJ> SubGraphImplementor<AJ>
public SubGraphImplementor<J>
public SubGraphImplementor<J>
makeSubGraph(boolean mutable)

Overrides default org.hibernate.graph.spi.SubGraphImplementor.makeSubGraph.

Implements org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

Create a new (mutable or immutable) SubGraph rooted at this Graph.
Inherited from org.hibernate.graph.internal.AbstractGraph:
addAttributeNodeaddAttributeNodeaddAttributeNodefindAttributeNodefindAttributeNodefindOrCreateAttributeNodegetAttributeNodeImplementorsgetGraphAttributeNodesgetGraphedTypemakeRootGraphmerge

Constructor Detail

SubGraphImplback to summary
public SubGraphImpl(ManagedDomainType<J> managedType, boolean mutable)
SubGraphImplback to summary
public SubGraphImpl(AbstractGraph<J> original, boolean mutable)

Method Detail

addKeySubGraphback to summary
public <AJ> SubGraphImplementor<AJ> addKeySubGraph(String attributeName)

Overrides default org.hibernate.graph.spi.GraphImplementor.addKeySubGraph.

Implements org.hibernate.graph.spi.SubGraphImplementor.addKeySubGraph.

Annotations
@Override
makeCopyback to summary
public SubGraphImplementor<J> makeCopy(boolean mutable)

Implements org.hibernate.graph.spi.SubGraphImplementor.makeCopy, org.hibernate.graph.spi.GraphImplementor.makeCopy, org.hibernate.graph.spi.GraphNodeImplementor.makeCopy.

Annotations
@Override
makeSubGraphback to summary
public SubGraphImplementor<J> makeSubGraph(boolean mutable)

Overrides default org.hibernate.graph.spi.SubGraphImplementor.makeSubGraph.

Implements org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

Doc from org.hibernate.graph.Graph.makeSubGraph.

Create a new (mutable or immutable) SubGraph rooted at this Graph.

Annotations
@Override