Package org.hibernate.graph.internal
Class SubGraphImpl<J>
java.lang.Object
org.hibernate.graph.internal.AbstractGraphNode<J>
org.hibernate.graph.internal.AbstractGraph<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
(AbstractGraph<J> original, boolean mutable) SubGraphImpl
(ManagedDomainType<J> managedType, boolean mutable) -
Method Summary
Modifier and TypeMethodDescription<E> SubGraphImplementor<E>
addElementSubgraph
(PluralAttribute<? super J, ?, E> attribute) <X> SubGraphImplementor<X>
addElementSubgraph
(String attributeName) <X> SubGraphImplementor<X>
addElementSubgraph
(String attributeName, Class<X> type) <AJ> SubGraphImplementor<AJ>
addKeySubGraph
(String attributeName) <K> SubGraphImplementor<K>
addMapKeySubgraph
(MapAttribute<? super J, K, ?> attribute) <E> SubGraphImplementor<E>
addTreatedElementSubgraph
(PluralAttribute<? super J, ?, ? super E> attribute, Class<E> type) <K> SubGraphImplementor<K>
addTreatedMapKeySubgraph
(MapAttribute<? super J, ? super K, ?> attribute, Class<K> type) <Y> SubGraphImplementor<Y>
addTreatedSubgraph
(Attribute<? super J, ? super Y> attribute, Class<Y> type) makeCopy
(boolean mutable) makeSubGraph
(boolean mutable) Methods inherited from class org.hibernate.graph.internal.AbstractGraph
addAttributeNode, addAttributeNode, addAttributeNode, addAttributeNode, addAttributeNodes, addAttributeNodes, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, getAttributeNode, getAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, getGraphAttributeNodes, getGraphedType, makeRootGraph, merge, removeAttributeNode, removeAttributeNode, removeAttributeNodes, visitAttributeNodes
Methods inherited from class org.hibernate.graph.internal.AbstractGraphNode
isMutable, verifyMutability
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.persistence.Graph
getAttributeNode, getAttributeNode, removeAttributeNode, removeAttributeNode, removeAttributeNodes
Methods inherited from interface org.hibernate.graph.Graph
addPluralSubgraph, getGraphAttributeNodes, getGraphedType
Methods inherited from interface org.hibernate.graph.spi.GraphImplementor
addAttributeNode, addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, hasAttributeNode, hasAttributeNode, merge, visitAttributeNodes
Methods inherited from interface org.hibernate.graph.SubGraph
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, getAttributeNodes, getClassType
Methods inherited from interface org.hibernate.graph.spi.SubGraphImplementor
addAttributeNode, addKeySubGraph, makeRootGraph
-
Constructor Details
-
SubGraphImpl
-
SubGraphImpl
-
-
Method Details
-
makeCopy
- Specified by:
makeCopy
in interfaceGraph<J>
- Specified by:
makeCopy
in interfaceGraphImplementor<J>
- Specified by:
makeCopy
in interfaceGraphNode<J>
- Specified by:
makeCopy
in interfaceGraphNodeImplementor<J>
- Specified by:
makeCopy
in interfaceSubGraphImplementor<J>
-
makeSubGraph
Description copied from interface:Graph
- Specified by:
makeSubGraph
in interfaceGraph<J>
- Specified by:
makeSubGraph
in interfaceGraphImplementor<J>
- Specified by:
makeSubGraph
in interfaceSubGraphImplementor<J>
-
addKeySubGraph
- Specified by:
addKeySubGraph
in interfaceGraph<J>
- Specified by:
addKeySubGraph
in interfaceGraphImplementor<J>
- Specified by:
addKeySubGraph
in interfaceSubGraphImplementor<J>
-
addTreatedSubgraph
public <Y> SubGraphImplementor<Y> addTreatedSubgraph(Attribute<? super J, ? super Y> attribute, Class<Y> type) - Specified by:
addTreatedSubgraph
in interfaceGraph<J>
- Specified by:
addTreatedSubgraph
in interfaceGraph<J>
-
addTreatedElementSubgraph
public <E> SubGraphImplementor<E> addTreatedElementSubgraph(PluralAttribute<? super J, ?, ? super E> attribute, Class<E> type) - Specified by:
addTreatedElementSubgraph
in interfaceGraph<J>
- Specified by:
addTreatedElementSubgraph
in interfaceGraph<J>
-
addTreatedMapKeySubgraph
public <K> SubGraphImplementor<K> addTreatedMapKeySubgraph(MapAttribute<? super J, ? super K, ?> attribute, Class<K> type) - Specified by:
addTreatedMapKeySubgraph
in interfaceGraph<J>
- Specified by:
addTreatedMapKeySubgraph
in interfaceGraph<J>
-
addElementSubgraph
- Specified by:
addElementSubgraph
in interfaceGraph<J>
-
addElementSubgraph
- Specified by:
addElementSubgraph
in interfaceGraph<J>
-
addElementSubgraph
- Specified by:
addElementSubgraph
in interfaceGraph<J>
-
addMapKeySubgraph
- Specified by:
addMapKeySubgraph
in interfaceGraph<J>
-