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
Integration version of the
RootGraph contract.- Author:
- Steve Ebersole
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(EntityDomainType<?> entityType) default RootGraphImplementor<J>makeImmutableCopy(String name) Make an immutable copy of this entity graph, using the given name.makeRootGraph(String name, boolean mutable) Create a named rootGraphif the given name is not null.makeSubGraph(boolean mutable) Methods inherited from interface jakarta.persistence.EntityGraph
getNameMethods inherited from interface org.hibernate.graph.Graph
addPluralSubgraph, getGraphAttributeNodes, getGraphedTypeMethods 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, visitAttributeNodesMethods inherited from interface org.hibernate.graph.RootGraph
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubclassSubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, getAttributeNodes
-
Method Details
-
appliesTo
-
makeRootGraph
Description copied from interface:GraphCreate a named rootGraphif the given name is not null.- Specified by:
makeRootGraphin interfaceGraph<J>- Specified by:
makeRootGraphin interfaceGraphImplementor<J>- Specified by:
makeRootGraphin interfaceRootGraph<J>mutable- controls whether the resultingGraphis mutable
-
makeSubGraph
Description copied from interface:Graph- Specified by:
makeSubGraphin interfaceGraph<J>- Specified by:
makeSubGraphin interfaceGraphImplementor<J>- Specified by:
makeSubGraphin interfaceRootGraph<J>
-
makeImmutableCopy
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
-