Top Description Methods
org.hibernate.graph.spi

public Interface AttributeNodeImplementor<J>

extends AttributeNode<J>, GraphNodeImplementor<J>
Known Direct Implementers
org.hibernate.graph.internal.AttributeNodeImpl
Imports
java.util.Map, java.util.function.BiConsumer, javax.persistence.Subgraph, org.hibernate.graph.AttributeNode, .SubGraph, org.hibernate.metamodel.model.domain.spi.PersistentAttributeDescriptor, .ManagedTypeDescriptor

Integration version of the AttributeNode contract
Authors
Strong Liu, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public PersistentAttributeDescriptor<?, J>
public Map<Class<? extends J>, SubGraphImplementor<? extends J>>
public default Map<Class<? extends J>, SubGraph<? extends J>>
public default Map<Class<T>, Subgraph<T>>
getKeySubgraphs()

Overrides default org.hibernate.graph.AttributeNode.getKeySubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.
public Map<Class<? extends J>, SubGraphImplementor<? extends J>>
public default Map<Class<? extends J>, SubGraph<? extends J>>
public default Map<Class<T>, Subgraph<T>>
getSubgraphs()

Overrides default org.hibernate.graph.AttributeNode.getSubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.
public AttributeNodeImplementor<J>
public SubGraphImplementor<J>
public <S extends J> SubGraphImplementor<S>
public <S extends J> SubGraphImplementor<S>
public SubGraphImplementor<J>
public <S extends J> SubGraphImplementor<S>
public <S extends J> SubGraphImplementor<S>
public void
merge(AttributeNodeImplementor<?> attributeNode)

public default void
public default void
Inherited from org.hibernate.graph.AttributeNode:
addKeySubGraphaddSubGraph

Method Detail

getAttributeDescriptorback to summary
public PersistentAttributeDescriptor<?, J> getAttributeDescriptor()

Redeclares org.hibernate.graph.AttributeNode.getAttributeDescriptor.

Annotations
@Override
getKeySubGraphMapback to summary
public Map<Class<? extends J>, SubGraphImplementor<? extends J>> getKeySubGraphMap()
getKeySubGraphsback to summary
public default Map<Class<? extends J>, SubGraph<? extends J>> getKeySubGraphs()

Implements org.hibernate.graph.AttributeNode.getKeySubGraphs.

Annotations
@Override
@SuppressWarnings:unchecked
getKeySubgraphsback to summary
public default Map<Class<T>, Subgraph<T>> getKeySubgraphs()

Overrides default org.hibernate.graph.AttributeNode.getKeySubgraphs.

Doc from javax.persistence.AttributeNode.getKeySubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.

Returns:Map<Class<T>, Subgraph<T>>

Map of subgraphs associated with this attribute node's map key or empty Map if none have been defined

Annotations
@Override
@SuppressWarnings:unchecked
getSubGraphMapback to summary
public Map<Class<? extends J>, SubGraphImplementor<? extends J>> getSubGraphMap()
getSubGraphsback to summary
public default Map<Class<? extends J>, SubGraph<? extends J>> getSubGraphs()

Implements org.hibernate.graph.AttributeNode.getSubGraphs.

Annotations
@Override
@SuppressWarnings:unchecked
getSubgraphsback to summary
public default Map<Class<T>, Subgraph<T>> getSubgraphs()

Overrides default org.hibernate.graph.AttributeNode.getSubgraphs.

Doc from javax.persistence.AttributeNode.getSubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.

Returns:Map<Class<T>, Subgraph<T>>

Map of subgraphs associated with this attribute node or empty Map if none have been defined

Annotations
@Override
@SuppressWarnings:unchecked
makeCopyback to summary
public AttributeNodeImplementor<J> makeCopy(boolean mutable)

Redeclares org.hibernate.graph.GraphNode.makeCopy, org.hibernate.graph.spi.GraphNodeImplementor.makeCopy.

Annotations
@Override
makeKeySubGraphback to summary
public SubGraphImplementor<J> makeKeySubGraph()

Redeclares org.hibernate.graph.AttributeNode.makeKeySubGraph.

Annotations
@Override
makeKeySubGraphback to summary
public <S extends J> SubGraphImplementor<S> makeKeySubGraph(Class<S> subtype)

Redeclares org.hibernate.graph.AttributeNode.makeKeySubGraph.

Annotations
@Override
makeKeySubGraphback to summary
public <S extends J> SubGraphImplementor<S> makeKeySubGraph(ManagedTypeDescriptor<S> subtype)
makeSubGraphback to summary
public SubGraphImplementor<J> makeSubGraph()

Redeclares org.hibernate.graph.AttributeNode.makeSubGraph.

Annotations
@Override
makeSubGraphback to summary
public <S extends J> SubGraphImplementor<S> makeSubGraph(Class<S> subtype)

Redeclares org.hibernate.graph.AttributeNode.makeSubGraph.

Annotations
@Override
makeSubGraphback to summary
public <S extends J> SubGraphImplementor<S> makeSubGraph(ManagedTypeDescriptor<S> subtype)
mergeback to summary
public void merge(AttributeNodeImplementor<?> attributeNode)
visitKeySubGraphsback to summary
public default void visitKeySubGraphs(BiConsumer<Class<?>, SubGraphImplementor<?>> consumer)
visitSubGraphsback to summary
public default void visitSubGraphs(BiConsumer<Class<?>, SubGraphImplementor<?>> consumer)