类 RootGraphImpl<J>
- java.lang.Object
-
- org.hibernate.graph.internal.AbstractGraphNode<J>
-
- org.hibernate.graph.internal.AbstractGraph<J>
-
- org.hibernate.graph.internal.RootGraphImpl<J>
-
- 所有已实现的接口:
javax.persistence.EntityGraph<J>,Graph<J>,GraphNode<J>,RootGraph<J>,GraphImplementor<J>,GraphNodeImplementor<J>,RootGraphImplementor<J>
public class RootGraphImpl<J> extends AbstractGraph<J> implements javax.persistence.EntityGraph<J>, RootGraphImplementor<J>
The Hibernate implementation of the JPA EntityGraph contract.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 RootGraphImpl(String name, boolean mutable, GraphImplementor<J> original)RootGraphImpl(String name, EntityTypeDescriptor<J> entityType, boolean mutable, SessionFactoryImplementor sessionFactory)RootGraphImpl(String name, EntityTypeDescriptor<J> entityType, SessionFactoryImplementor sessionFactory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <T1> SubGraph<? extends T1>addSubclassSubgraph(Class<? extends T1> type)booleanappliesTo(Class entityType)booleanappliesTo(String entityName)booleanappliesTo(EntityTypeDescriptor<? super J> entityType)StringgetName()RootGraphImplementor<J>makeCopy(boolean mutable)RootGraphImplementor<J>makeRootGraph(String name, boolean mutable)Create a named (if passed `name` !SubGraphImplementor<J>makeSubGraph(boolean mutable)Create a (mutable/immutable) SubGraph based on this Graph-
从类继承的方法 org.hibernate.graph.internal.AbstractGraph
addAttributeNode, addAttributeNode, addAttributeNode, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getGraphAttributeNodes, getGraphedType, merge, sessionFactory
-
从类继承的方法 org.hibernate.graph.internal.AbstractGraphNode
isMutable, verifyMutability
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.graph.Graph
getGraphAttributeNodes
-
从接口继承的方法 org.hibernate.graph.spi.GraphImplementor
addAttributeNode, addAttributeNode, addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, findAttributeNode, findAttributeNode, findAttributeNode, findOrCreateAttributeNode, findOrCreateAttributeNode, getAttributeNodeImplementors, getAttributeNodeList, getGraphedType, merge, sessionFactory, visitAttributeNodes
-
从接口继承的方法 org.hibernate.graph.RootGraph
addAttributeNodes, addAttributeNodes, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, getAttributeNodes
-
从接口继承的方法 org.hibernate.graph.spi.RootGraphImplementor
appliesTo, makeImmutableCopy
-
-
-
-
构造器详细资料
-
RootGraphImpl
public RootGraphImpl(String name, EntityTypeDescriptor<J> entityType, boolean mutable, SessionFactoryImplementor sessionFactory)
-
RootGraphImpl
public RootGraphImpl(String name, EntityTypeDescriptor<J> entityType, SessionFactoryImplementor sessionFactory)
-
RootGraphImpl
public RootGraphImpl(String name, boolean mutable, GraphImplementor<J> original)
-
-
方法详细资料
-
makeCopy
public RootGraphImplementor<J> makeCopy(boolean mutable)
-
makeSubGraph
public SubGraphImplementor<J> makeSubGraph(boolean mutable)
从接口复制的说明:GraphCreate a (mutable/immutable) SubGraph based on this Graph- 指定者:
makeSubGraph在接口中Graph<J>- 指定者:
makeSubGraph在接口中GraphImplementor<J>- 指定者:
makeSubGraph在接口中RootGraph<J>- 指定者:
makeSubGraph在接口中RootGraphImplementor<J>
-
makeRootGraph
public RootGraphImplementor<J> makeRootGraph(String name, boolean mutable)
从接口复制的说明: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>- 指定者:
makeRootGraph在接口中RootGraph<J>- 指定者:
makeRootGraph在接口中RootGraphImplementor<J>- 覆盖:
makeRootGraph在类中AbstractGraph<J>
-
addSubclassSubgraph
public <T1> SubGraph<? extends T1> addSubclassSubgraph(Class<? extends T1> type)
- 指定者:
addSubclassSubgraph在接口中javax.persistence.EntityGraph<J>- 指定者:
addSubclassSubgraph在接口中RootGraph<J>
-
appliesTo
public boolean appliesTo(EntityTypeDescriptor<? super J> entityType)
- 指定者:
appliesTo在接口中RootGraphImplementor<J>
-
-