Package org.hibernate.graph.spi
Interface RootGraphImplementor<J>
-
- All Superinterfaces:
EntityGraph<J>
,Graph<J>
,GraphImplementor<J>
,GraphNode<J>
,GraphNodeImplementor<J>
,RootGraph<J>
public interface RootGraphImplementor<J> extends RootGraph<J>, GraphImplementor<J>
Integration version of the RootGraph contract
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
appliesTo(EntityTypeDescriptor<? super J> entityType)
default boolean
appliesTo(ManagedTypeDescriptor<? super J> managedType)
default RootGraphImplementor<J>
makeImmutableCopy(java.lang.String name)
Make an immutable copy of this entity graph, using the given name.RootGraphImplementor<J>
makeRootGraph(java.lang.String name, boolean mutable)
Create a named (if passed `name` != null) root Graph.SubGraphImplementor<J>
makeSubGraph(boolean mutable)
Create a (mutable/immutable) SubGraph based on this Graph-
Methods inherited from interface javax.persistence.EntityGraph
getName
-
Methods inherited from interface org.hibernate.graph.Graph
getGraphAttributeNodes
-
Methods inherited from interface org.hibernate.graph.spi.GraphImplementor
addAttributeNode, addAttributeNode, addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, appliesTo, findAttributeNode, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, getGraphedType, makeCopy, merge, sessionFactory, visitAttributeNodes
-
Methods inherited from interface org.hibernate.graph.RootGraph
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubclassSubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, appliesTo, appliesTo, getAttributeNodes
-
-
-
-
Method Detail
-
appliesTo
boolean appliesTo(EntityTypeDescriptor<? super J> entityType)
-
appliesTo
default boolean appliesTo(ManagedTypeDescriptor<? super J> managedType)
- Specified by:
appliesTo
in interfaceGraphImplementor<J>
-
makeRootGraph
RootGraphImplementor<J> makeRootGraph(java.lang.String name, boolean mutable)
Description copied from interface:Graph
Create a named (if passed `name` != null) root Graph. The `mutable` parameter controls whether the created Graph is mutable.- Specified by:
makeRootGraph
in interfaceGraph<J>
- Specified by:
makeRootGraph
in interfaceGraphImplementor<J>
- Specified by:
makeRootGraph
in interfaceRootGraph<J>
-
makeSubGraph
SubGraphImplementor<J> makeSubGraph(boolean mutable)
Description copied from interface:Graph
Create a (mutable/immutable) SubGraph based on this Graph- Specified by:
makeSubGraph
in interfaceGraph<J>
- Specified by:
makeSubGraph
in interfaceGraphImplementor<J>
- Specified by:
makeSubGraph
in interfaceRootGraph<J>
-
makeImmutableCopy
default RootGraphImplementor<J> makeImmutableCopy(java.lang.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
-
-