Package org.hibernate.graph.spi
Interface SubGraphImplementor<J>
- All Superinterfaces:
Graph<J>,Graph<J>,GraphImplementor<J>,GraphNode<J>,GraphNodeImplementor<J>,Subgraph<J>,SubGraph<J>
- All Known Implementing Classes:
SubGraphImpl
Integration version of the
SubGraph contract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionmakeCopy(boolean mutable) Make a copy of this graph node, with the given mutability.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.Graph
addAttributeNode, addAttributeNodes, addAttributeNodes, getAttributeNodes, removeAttributeNode, removeAttributeNode, removeAttributeNodesMethods inherited from interface org.hibernate.graph.Graph
addElementSubgraph, addElementSubgraph, addElementSubgraph, addKeySubgraph, addKeySubgraph, addMapKeySubgraph, addPluralSubgraph, addSubgraph, getGraphedTypeMethods 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, mergeInternalMethods inherited from interface org.hibernate.graph.SubGraph
getClassType
-
Method Details
-
makeCopy
Description copied from interface:GraphMake a copy of this graph node, with the given mutability.If this graph is immutable, and the argument is
false, simply return this instance. -
makeSubGraph
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:GraphCreate a new subgraph representing this node.- Specified by:
makeSubGraphin interfaceGraph<J>- Specified by:
makeSubGraphin interfaceGraphImplementor<J>
-
makeRootGraph
@Deprecated(forRemoval=true) RootGraphImplementor<J> makeRootGraph(String name, boolean mutable) throws CannotBecomeEntityGraphException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:GraphCreate a named root graph representing this node.- Specified by:
makeRootGraphin interfaceGraph<J>- Specified by:
makeRootGraphin interfaceGraphImplementor<J>- Parameters:
mutable- controls whether the resulting graph is mutable- Throws:
CannotBecomeEntityGraphException- If the named attribute is not entity-valued
-