Top Description Methods
org.hibernate.graph.spi

public Interface RootGraphImplementor<J>

extends RootGraph<J>, GraphImplementor<J>
Known Direct Implementers
org.hibernate.graph.internal.RootGraphImpl
Imports
org.hibernate.graph.RootGraph, org.hibernate.metamodel.model.domain.spi.EntityTypeDescriptor, .ManagedTypeDescriptor

Integration version of the RootGraph contract
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public boolean
appliesTo(EntityTypeDescriptor<? super J> entityType)

public default boolean
public default RootGraphImplementor<J>

Returns:

The immutable copy
makeImmutableCopy
(String
The name to apply to the immutable copy
name
)

Make an immutable copy of this entity graph, using the given name.

public RootGraphImplementor<J>
makeRootGraph(String name, boolean mutable)

Redeclares org.hibernate.graph.RootGraph.makeRootGraph, org.hibernate.graph.spi.GraphImplementor.makeRootGraph.

Create a named (if passed `name` != null) root Graph.
public SubGraphImplementor<J>
makeSubGraph(boolean mutable)

Redeclares org.hibernate.graph.RootGraph.makeSubGraph, org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

Create a (mutable/immutable) SubGraph based on this Graph
Inherited from org.hibernate.graph.RootGraph:
addAttributeNodesaddAttributeNodesaddKeySubgraphaddKeySubgraphaddKeySubgraphaddKeySubgraphaddSubclassSubgraphaddSubgraphaddSubgraphaddSubgraphaddSubgraphappliesToappliesTogetAttributeNodes
Inherited from org.hibernate.graph.spi.GraphImplementor:
addAttributeNodeaddAttributeNodeaddAttributeNodeaddAttributeNodeaddKeySubGraphaddKeySubGraphaddKeySubGraphaddKeySubGraphaddKeySubGraphaddKeySubGraphaddSubGraphaddSubGraphaddSubGraphaddSubGraphaddSubGraphaddSubGraphappliesTofindAttributeNodefindAttributeNodefindAttributeNodefindOrCreateAttributeNodefindOrCreateAttributeNodegetAttributeNodeImplementorsgetAttributeNodeListgetGraphedTypemakeCopymergesessionFactoryvisitAttributeNodes

Method Detail

appliesToback to summary
public boolean appliesTo(EntityTypeDescriptor<? super J> entityType)
appliesToback to summary
public default boolean appliesTo(ManagedTypeDescriptor<? super J> managedType)

Implements org.hibernate.graph.spi.GraphImplementor.appliesTo.

Annotations
@Override
@SuppressWarnings:unchecked
makeImmutableCopyback to summary
public default RootGraphImplementor<J> makeImmutableCopy(String name)

Make an immutable copy of this entity graph, using the given name.

Parameters
name:String

The name to apply to the immutable copy

Returns:RootGraphImplementor<J>

The immutable copy

makeRootGraphback to summary
public RootGraphImplementor<J> makeRootGraph(String name, boolean mutable)

Redeclares org.hibernate.graph.RootGraph.makeRootGraph, org.hibernate.graph.spi.GraphImplementor.makeRootGraph.

Doc from org.hibernate.graph.Graph.makeRootGraph.

Create a named (if passed `name` != null) root Graph. The `mutable` parameter controls whether the created Graph is mutable.

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

Redeclares org.hibernate.graph.RootGraph.makeSubGraph, org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

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

Create a (mutable/immutable) SubGraph based on this Graph

Annotations
@Override