接口 SubGraphImplementor<J>
-
- 所有超级接口:
Graph<J>,GraphImplementor<J>,GraphNode<J>,GraphNodeImplementor<J>,javax.persistence.Subgraph<J>,SubGraph<J>
- 所有已知实现类:
SubGraphImpl
public interface SubGraphImplementor<J> extends SubGraph<J>, GraphImplementor<J>
Integration version of the SubGraph contract- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 <AJ> AttributeNodeImplementor<AJ>addAttributeNode(javax.persistence.metamodel.Attribute<? extends J,AJ> attribute)Add an AttributeNode (with no associated SubGraphNode) to this container by Attribute reference<AJ> SubGraphImplementor<AJ>addKeySubGraph(String attributeName)default <AJ> SubGraphImplementor<? extends AJ>addKeySubGraph(PersistentAttributeDescriptor<? extends J,AJ> attribute, Class<? extends AJ> subType)SubGraphImplementor<J>makeCopy(boolean mutable)RootGraphImplementor<J>makeRootGraph(String name, boolean mutable)Create a named (if passed `name` !default SubGraphImplementor<J>makeSubGraph(boolean mutable)Create a (mutable/immutable) SubGraph based on this Graph-
从接口继承的方法 org.hibernate.graph.Graph
getGraphAttributeNodes
-
从接口继承的方法 org.hibernate.graph.spi.GraphImplementor
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
-
从接口继承的方法 org.hibernate.graph.SubGraph
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, getAttributeNodes, getClassType
-
-
-
-
方法详细资料
-
makeCopy
SubGraphImplementor<J> makeCopy(boolean mutable)
-
makeSubGraph
default SubGraphImplementor<J> makeSubGraph(boolean mutable)
从接口复制的说明:GraphCreate a (mutable/immutable) SubGraph based on this Graph- 指定者:
makeSubGraph在接口中Graph<J>- 指定者:
makeSubGraph在接口中GraphImplementor<J>
-
makeRootGraph
RootGraphImplementor<J> makeRootGraph(String name, boolean mutable) throws CannotBecomeEntityGraphException
从接口复制的说明:GraphCreate a named (if passed `name` != null) root Graph. The `mutable` parameter controls whether the created Graph is mutable.- 指定者:
makeRootGraph在接口中Graph<J>- 指定者:
makeRootGraph在接口中GraphImplementor<J>- 抛出:
CannotBecomeEntityGraphException- For named attributes that are not entity valued
-
addKeySubGraph
<AJ> SubGraphImplementor<AJ> addKeySubGraph(String attributeName)
- 指定者:
addKeySubGraph在接口中Graph<J>- 指定者:
addKeySubGraph在接口中GraphImplementor<J>
-
addAttributeNode
<AJ> AttributeNodeImplementor<AJ> addAttributeNode(javax.persistence.metamodel.Attribute<? extends J,AJ> attribute)
从接口复制的说明:GraphAdd an AttributeNode (with no associated SubGraphNode) to this container by Attribute reference- 指定者:
addAttributeNode在接口中Graph<J>- 指定者:
addAttributeNode在接口中GraphImplementor<J>
-
addKeySubGraph
default <AJ> SubGraphImplementor<? extends AJ> addKeySubGraph(PersistentAttributeDescriptor<? extends J,AJ> attribute, Class<? extends AJ> subType) throws CannotContainSubGraphException
- 指定者:
addKeySubGraph在接口中GraphImplementor<J>- 抛出:
CannotContainSubGraphException
-
-