Package org.hibernate.graph.spi
Interface RootGraphImplementor<J>
-
- All Superinterfaces:
EntityGraph<J>
,Graph<J>
,GraphImplementor<J>
,GraphNode<J>
,GraphNodeImplementor<J>
,RootGraph<J>
- All Known Implementing Classes:
RootGraphImpl
public interface RootGraphImplementor<J> extends RootGraph<J>, GraphImplementor<J>
Integration version of theRootGraph
contract.- See Also:
SubGraphImplementor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
appliesTo(EntityDomainType<?> entityType)
default RootGraphImplementor<J>
makeImmutableCopy(String name)
Make an immutable copy of this entity graph, using the given name.RootGraphImplementor<J>
makeRootGraph(String name, boolean mutable)
Create a named rootGraph
if the given name is not null.SubGraphImplementor<J>
makeSubGraph(boolean mutable)
-
Methods inherited from interface jakarta.persistence.EntityGraph
getName
-
Methods inherited from interface org.hibernate.graph.Graph
addPluralSubgraph, getGraphAttributeNodes, getGraphedType
-
Methods inherited from interface org.hibernate.graph.spi.GraphImplementor
addAttributeNode, addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, makeCopy, merge, visitAttributeNodes
-
Methods inherited from interface org.hibernate.graph.RootGraph
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubclassSubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, getAttributeNodes
-
-
-
-
Method Detail
-
appliesTo
boolean appliesTo(EntityDomainType<?> entityType)
-
makeRootGraph
RootGraphImplementor<J> makeRootGraph(String name, boolean mutable)
Description copied from interface:Graph
Create a named rootGraph
if the given name is not null.- Specified by:
makeRootGraph
in interfaceGraph<J>
- Specified by:
makeRootGraph
in interfaceGraphImplementor<J>
- Specified by:
makeRootGraph
in interfaceRootGraph<J>
mutable
- controls whether the resultingGraph
is mutable
-
makeSubGraph
SubGraphImplementor<J> makeSubGraph(boolean mutable)
Description copied from interface:Graph
- Specified by:
makeSubGraph
in interfaceGraph<J>
- Specified by:
makeSubGraph
in interfaceGraphImplementor<J>
- Specified by:
makeSubGraph
in interfaceRootGraph<J>
-
makeImmutableCopy
default RootGraphImplementor<J> makeImmutableCopy(String name)
Make an immutable copy of this entity graph, using the given name.- Parameters:
name
- The name to apply to the immutable copy- Returns:
- The immutable copy
-
-