Package org.hibernate.graph.spi
Interface RootGraphImplementor<J>
- All Superinterfaces:
EntityGraph<J>
,Graph<J>
,Graph<J>
,GraphImplementor<J>
,GraphNode<J>
,GraphNodeImplementor<J>
,RootGraph<J>
- All Known Implementing Classes:
RootGraphImpl
Integration version of the
RootGraph
contract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
appliesTo
(EntityDomainType<?> entityType) makeCopy
(boolean mutable) Make a copy of this graph node, with the given mutability.makeImmutableCopy
(String name) Make an immutable copy of this entity graph, using the given name.makeRootGraph
(String name, boolean mutable) Deprecated, for removal: This API element is subject to removal in a future version.makeSubGraph
(boolean mutable) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface jakarta.persistence.EntityGraph
addTreatedSubgraph, getName
Methods inherited from interface jakarta.persistence.Graph
addAttributeNode, addAttributeNodes, addAttributeNodes, getAttributeNodes, removeAttributeNode, removeAttributeNode, removeAttributeNodes
Methods inherited from interface org.hibernate.graph.Graph
addElementSubgraph, addElementSubgraph, addElementSubgraph, addKeySubgraph, addKeySubgraph, addMapKeySubgraph, addPluralSubgraph, addSubgraph, getGraphedType
Methods inherited from interface org.hibernate.graph.spi.GraphImplementor
addAttributeNode, addAttributeNode, addKeySubgraph, addKeySubgraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addSubgraph, addSubgraph, addSubgraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addTreatedElementSubgraph, addTreatedElementSubgraph, addTreatedMapKeySubgraph, addTreatedMapKeySubgraph, addTreatedSubgraph, addTreatedSubgraph, addTreatedSubgraph, addTreatedSubgraph, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNode, getAttributeNode, getAttributeNodeList, getNodes, getTreatedSubgraphs, hasAttributeNode, hasAttributeNode, merge, mergeInternal
Methods inherited from interface org.hibernate.graph.RootGraph
addSubclassSubgraph
-
Method Details
-
appliesTo
-
makeCopy
Description copied from interface:Graph
Make a copy of this graph node, with the given mutability.If this graph is immutable, and the argument is
false
, simply return this instance. -
makeRootGraph
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Graph
Create a named root graph representing this node.- Specified by:
makeRootGraph
in interfaceGraph<J>
- Specified by:
makeRootGraph
in interfaceGraphImplementor<J>
- Specified by:
makeRootGraph
in interfaceRootGraph<J>
mutable
- controls whether the resulting graph is mutable
-
makeSubGraph
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Graph
Create a new subgraph representing this node.- Specified by:
makeSubGraph
in interfaceGraph<J>
- Specified by:
makeSubGraph
in interfaceGraphImplementor<J>
- Specified by:
makeSubGraph
in 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
-