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:
Subgraph<J>
,Graph<J>
,GraphNode<J>
,GraphImplementor<J>
,GraphNodeImplementor<J>
,SubGraphImplementor<J>
,SubGraph<J>
public class SubGraphImpl<J> extends AbstractGraph<J> implements SubGraphImplementor<J>
Implementation of the JPA-definedSubgraph
interface.
-
-
Constructor Summary
Constructors Constructor Description SubGraphImpl(AbstractGraph<J> original, boolean mutable)
SubGraphImpl(ManagedDomainType<J> managedType, boolean mutable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <AJ> SubGraphImplementor<AJ>
addKeySubGraph(String attributeName)
SubGraphImplementor<J>
makeCopy(boolean mutable)
SubGraphImplementor<J>
makeSubGraph(boolean mutable)
-
Methods inherited from class org.hibernate.graph.internal.AbstractGraph
addAttributeNode, addAttributeNode, addAttributeNode, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getGraphAttributeNodes, getGraphedType, makeRootGraph, merge
-
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 org.hibernate.graph.Graph
addPluralSubgraph, getGraphAttributeNodes, getGraphedType
-
Methods inherited from interface org.hibernate.graph.spi.GraphImplementor
addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, 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 Detail
-
SubGraphImpl
public SubGraphImpl(ManagedDomainType<J> managedType, boolean mutable)
-
SubGraphImpl
public SubGraphImpl(AbstractGraph<J> original, boolean mutable)
-
-
Method Detail
-
makeCopy
public SubGraphImplementor<J> makeCopy(boolean mutable)
- 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
public SubGraphImplementor<J> makeSubGraph(boolean mutable)
Description copied from interface:Graph
- Specified by:
makeSubGraph
in interfaceGraph<J>
- Specified by:
makeSubGraph
in interfaceGraphImplementor<J>
- Specified by:
makeSubGraph
in interfaceSubGraphImplementor<J>
-
addKeySubGraph
public <AJ> SubGraphImplementor<AJ> addKeySubGraph(String attributeName)
- Specified by:
addKeySubGraph
in interfaceGraph<J>
- Specified by:
addKeySubGraph
in interfaceGraphImplementor<J>
- Specified by:
addKeySubGraph
in interfaceSubGraphImplementor<J>
-
-