Package org.hibernate.graph.internal
Class SubGraphImpl<J>
java.lang.Object
org.hibernate.graph.internal.AbstractGraphNode<J>
org.hibernate.graph.internal.GraphImpl<J>
org.hibernate.graph.internal.SubGraphImpl<J>
- All Implemented Interfaces:
Graph<J>,Subgraph<J>,Graph<J>,GraphNode<J>,GraphImplementor<J>,GraphNodeImplementor<J>,SubGraphImplementor<J>,SubGraph<J>
Implementation of the JPA-defined
Subgraph interface.-
Constructor Summary
ConstructorsConstructorDescriptionSubGraphImpl(GraphImpl<J> original, boolean mutable) SubGraphImpl(ManagedDomainType<J> managedType, boolean mutable) -
Method Summary
Modifier and TypeMethodDescriptionmakeCopy(boolean mutable) Make a copy of this graph node, with the given mutability.makeSubGraph(boolean mutable) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.hibernate.graph.internal.GraphImpl
addAttributeNode, addAttributeNode, addAttributeNode, addAttributeNodes, addAttributeNodes, addElementSubgraph, addElementSubgraph, addElementSubgraph, addKeySubgraph, addKeySubgraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addMapKeySubgraph, addSubgraph, addSubgraph, addSubgraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addTreatedElementSubgraph, addTreatedElementSubgraph, addTreatedMapKeySubgraph, addTreatedMapKeySubgraph, addTreatedSubgraph, addTreatedSubgraph, addTreatedSubgraph, addTreatedSubgraph, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNode, getAttributeNode, getAttributeNodeList, getAttributeNodes, getGraphedType, getNodes, getTreatedSubgraphs, makeRootGraph, merge, mergeInternal, removeAttributeNode, removeAttributeNode, removeAttributeNodes, toStringMethods inherited from class org.hibernate.graph.internal.AbstractGraphNode
isMutable, verifyMutabilityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
getClassTypeMethods inherited from interface org.hibernate.graph.spi.SubGraphImplementor
makeRootGraph
-
Constructor Details
-
SubGraphImpl
-
SubGraphImpl
-
-
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.- Specified by:
makeCopyin interfaceGraph<J>- Specified by:
makeCopyin interfaceGraphImplementor<J>- Specified by:
makeCopyin interfaceGraphNode<J>- Specified by:
makeCopyin interfaceGraphNodeImplementor<J>- Specified by:
makeCopyin interfaceSubGraphImplementor<J>
-
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>- Specified by:
makeSubGraphin interfaceSubGraphImplementor<J>
-