public interface SubGraphImplementor<J> extends SubGraph<J>, GraphImplementor<J>
Modifier and Type | Method and Description |
---|---|
<AJ> AttributeNodeImplementor<AJ> |
addAttributeNode(Attribute<? extends J,AJ> attribute)
Add an AttributeNode (with no associated SubGraphNode) to this container
by Attribute reference
|
default <AJ> SubGraphImplementor<? extends AJ> |
addKeySubGraph(PersistentAttributeDescriptor<? extends J,AJ> attribute,
Class<? extends AJ> subType) |
<AJ> SubGraphImplementor<AJ> |
addKeySubGraph(String attributeName) |
SubGraphImplementor<J> |
makeCopy(boolean mutable) |
RootGraphImplementor<J> |
makeRootGraph(String name,
boolean mutable)
Create a named (if passed `name` != null) root Graph.
|
default SubGraphImplementor<J> |
makeSubGraph(boolean mutable)
Create a (mutable/immutable) SubGraph based on this Graph
|
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, getAttributeNodes, getClassType
addAttributeNode, addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, appliesTo, appliesTo, findAttributeNode, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, getGraphedType, merge, sessionFactory, visitAttributeNodes
getGraphAttributeNodes
SubGraphImplementor<J> makeCopy(boolean mutable)
default SubGraphImplementor<J> makeSubGraph(boolean mutable)
Graph
makeSubGraph
in interface Graph<J>
makeSubGraph
in interface GraphImplementor<J>
RootGraphImplementor<J> makeRootGraph(String name, boolean mutable) throws CannotBecomeEntityGraphException
Graph
makeRootGraph
in interface Graph<J>
makeRootGraph
in interface GraphImplementor<J>
CannotBecomeEntityGraphException
- For named attributes
that are not entity valued<AJ> SubGraphImplementor<AJ> addKeySubGraph(String attributeName)
addKeySubGraph
in interface Graph<J>
addKeySubGraph
in interface GraphImplementor<J>
<AJ> AttributeNodeImplementor<AJ> addAttributeNode(Attribute<? extends J,AJ> attribute)
Graph
addAttributeNode
in interface Graph<J>
addAttributeNode
in interface GraphImplementor<J>
default <AJ> SubGraphImplementor<? extends AJ> addKeySubGraph(PersistentAttributeDescriptor<? extends J,AJ> attribute, Class<? extends AJ> subType) throws CannotContainSubGraphException
addKeySubGraph
in interface GraphImplementor<J>
CannotContainSubGraphException
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.