Top Constructors Methods
org.hibernate.graph.internal

public Class SubGraphImpl<J>

extends AbstractGraph<J>
implements SubGraphImplementor<J>
Class Inheritance
All Implemented Interfaces
org.hibernate.graph.spi.SubGraphImplementor, org.hibernate.graph.spi.GraphImplementor, org.hibernate.graph.spi.GraphNodeImplementor, org.hibernate.graph.GraphNode, org.hibernate.graph.Graph, org.hibernate.graph.SubGraph, javax.persistence.Subgraph
Imports
javax.persistence.metamodel.Attribute, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.graph.spi.AttributeNodeImplementor, .SubGraphImplementor, org.hibernate.metamodel.model.domain.spi.ManagedTypeDescriptor, .PersistentAttributeDescriptor

Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
SubGraphImpl(ManagedTypeDescriptor<J> managedType, boolean mutable, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public
SubGraphImpl(boolean mutable, AbstractGraph<J> original)

Method Summary

Modifier and TypeMethod and Description
public <AJ> AttributeNodeImplementor<AJ>
addAttributeNode(Attribute<? extends J, AJ> attribute)

Overrides default org.hibernate.graph.spi.GraphImplementor.addAttributeNode.

Implements org.hibernate.graph.spi.SubGraphImplementor.addAttributeNode.

Add an AttributeNode (with no associated SubGraphNode) to this container by Attribute reference
public <AJ> SubGraphImplementor<AJ>
public boolean
public boolean
public SubGraphImplementor<J>
public SubGraphImplementor<J>
makeSubGraph(boolean mutable)

Overrides default org.hibernate.graph.spi.SubGraphImplementor.makeSubGraph.

Implements org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

Create a (mutable/immutable) SubGraph based on this Graph
Inherited from org.hibernate.graph.internal.AbstractGraph:
addAttributeNodeaddAttributeNodeaddAttributeNodefindAttributeNodefindAttributeNodefindOrCreateAttributeNodegetAttributeNodeImplementorsgetGraphAttributeNodesgetGraphedTypemakeRootGraphmergesessionFactory

Constructor Detail

SubGraphImplback to summary
public SubGraphImpl(ManagedTypeDescriptor<J> managedType, boolean mutable, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

SubGraphImplback to summary
public SubGraphImpl(boolean mutable, AbstractGraph<J> original)

Method Detail

addAttributeNodeback to summary
public <AJ> AttributeNodeImplementor<AJ> addAttributeNode(Attribute<? extends J, AJ> attribute)

Overrides default org.hibernate.graph.spi.GraphImplementor.addAttributeNode.

Implements org.hibernate.graph.spi.SubGraphImplementor.addAttributeNode.

Doc from org.hibernate.graph.Graph.addAttributeNode.

Add an AttributeNode (with no associated SubGraphNode) to this container by Attribute reference

Annotations
@Override
@SuppressWarnings:unchecked
addKeySubGraphback to summary
public <AJ> SubGraphImplementor<AJ> addKeySubGraph(String attributeName)

Overrides default org.hibernate.graph.spi.GraphImplementor.addKeySubGraph.

Implements org.hibernate.graph.spi.SubGraphImplementor.addKeySubGraph.

Annotations
@Override
appliesToback to summary
public boolean appliesTo(ManagedTypeDescriptor<? super J> managedType)

Implements org.hibernate.graph.spi.GraphImplementor.appliesTo.

Annotations
@Override
appliesToback to summary
public boolean appliesTo(Class<? super J> javaType)

Implements org.hibernate.graph.spi.GraphImplementor.appliesTo.

Annotations
@Override
makeCopyback to summary
public SubGraphImplementor<J> makeCopy(boolean mutable)

Implements org.hibernate.graph.spi.SubGraphImplementor.makeCopy, org.hibernate.graph.spi.GraphImplementor.makeCopy, org.hibernate.graph.spi.GraphNodeImplementor.makeCopy.

Annotations
@Override
makeSubGraphback to summary
public SubGraphImplementor<J> makeSubGraph(boolean mutable)

Overrides default org.hibernate.graph.spi.SubGraphImplementor.makeSubGraph.

Implements org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

Doc from org.hibernate.graph.Graph.makeSubGraph.

Create a (mutable/immutable) SubGraph based on this Graph

Annotations
@Override