Top Description Methods
org.hibernate.graph.spi

public Interface RootGraphImplementor<J>

extends RootGraph<J>, GraphImplementor<J>
Known Direct Implementers
org.hibernate.graph.internal.RootGraphImpl
Imports
org.hibernate.graph.RootGraph, org.hibernate.metamodel.model.domain.EntityDomainType

Integration version of the RootGraph contract.
Author
Steve Ebersole
See Also
SubGraphImplementor

Method Summary

Modifier and TypeMethod and Description
public boolean
appliesTo(EntityDomainType<?> entityType)

public default RootGraphImplementor<J>

Returns:

The immutable copy
makeImmutableCopy
(String
The name to apply to the immutable copy
name
)

Make an immutable copy of this entity graph, using the given name.

public RootGraphImplementor<J>
makeRootGraph(String name, boolean
controls whether the resulting Graph is mutable
mutable
)

Redeclares org.hibernate.graph.RootGraph.makeRootGraph, org.hibernate.graph.spi.GraphImplementor.makeRootGraph.

Create a named root Graph if the given name is not null.
public SubGraphImplementor<J>
makeSubGraph(boolean mutable)

Redeclares org.hibernate.graph.RootGraph.makeSubGraph, org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

Create a new (mutable or immutable) SubGraph rooted at this Graph.
Inherited from org.hibernate.graph.RootGraph:
addAttributeNodesaddAttributeNodesaddKeySubgraphaddKeySubgraphaddKeySubgraphaddKeySubgraphaddSubclassSubgraphaddSubgraphaddSubgraphaddSubgraphaddSubgraphgetAttributeNodes
Inherited from org.hibernate.graph.spi.GraphImplementor:
addAttributeNodeaddAttributeNodeaddAttributeNodeaddKeySubGraphaddKeySubGraphaddKeySubGraphaddKeySubGraphaddSubGraphaddSubGraphaddSubGraphaddSubGraphfindAttributeNodefindAttributeNodefindOrCreateAttributeNodefindOrCreateAttributeNodegetAttributeNodeImplementorsgetAttributeNodeListmakeCopymergevisitAttributeNodes

Method Detail

appliesToback to summary
public boolean appliesTo(EntityDomainType<?> entityType)
makeImmutableCopyback to summary
public default RootGraphImplementor<J> makeImmutableCopy(String name)

Make an immutable copy of this entity graph, using the given name.

Parameters
name:String

The name to apply to the immutable copy

Returns:RootGraphImplementor<J>

The immutable copy

makeRootGraphback to summary
public RootGraphImplementor<J> makeRootGraph(String name, boolean mutable)

Redeclares org.hibernate.graph.RootGraph.makeRootGraph, org.hibernate.graph.spi.GraphImplementor.makeRootGraph.

Doc from org.hibernate.graph.Graph.makeRootGraph.

Create a named root Graph if the given name is not null.

Parameters
mutable:boolean

controls whether the resulting Graph is mutable

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

Redeclares org.hibernate.graph.RootGraph.makeSubGraph, org.hibernate.graph.spi.GraphImplementor.makeSubGraph.

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

Create a new (mutable or immutable) SubGraph rooted at this Graph.

Annotations
@Override