Package org.hibernate.graph.spi
Interface AttributeNodeImplementor<J>
- All Superinterfaces:
AttributeNode<J>,AttributeNode<J>,GraphNode<J>,GraphNodeImplementor<J>
- All Known Implementing Classes:
AttributeNodeImpl
Integration version of the
AttributeNode contract- Author:
- Strong Liu, Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubGraph(SubGraphImplementor<? extends J> subGraph) Map<Class<? extends J>,SubGraphImplementor<? extends J>> Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.Map<Class<? extends J>,SubGraphImplementor<? extends J>> Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.makeCopy(boolean mutable) <S extends J>
SubGraphImplementor<S>makeKeySubGraph(Class<S> subtype) <S extends J>
SubGraphImplementor<S>makeKeySubGraph(ManagedDomainType<S> subtype) <S extends J>
SubGraphImplementor<S>makeSubGraph(Class<S> subtype) <S extends J>
SubGraphImplementor<S>makeSubGraph(ManagedDomainType<S> subtype) voidmerge(AttributeNodeImplementor<?> attributeNode) default voidvisitKeySubGraphs(BiConsumer<Class<? extends J>, SubGraphImplementor<? extends J>> consumer) default voidvisitSubGraphs(BiConsumer<Class<? extends J>, SubGraphImplementor<? extends J>> consumer) Methods inherited from interface jakarta.persistence.AttributeNode
getAttributeNameMethods inherited from interface org.hibernate.graph.AttributeNode
addKeySubGraph, addSubGraph, getAttributeDescriptor
-
Method Details
-
getSubGraphMap
Map<Class<? extends J>,SubGraphImplementor<? extends J>> getSubGraphMap() -
getKeySubGraphMap
Map<Class<? extends J>,SubGraphImplementor<? extends J>> getKeySubGraphMap() -
visitSubGraphs
default void visitSubGraphs(BiConsumer<Class<? extends J>, SubGraphImplementor<? extends J>> consumer) -
visitKeySubGraphs
default void visitKeySubGraphs(BiConsumer<Class<? extends J>, SubGraphImplementor<? extends J>> consumer) -
getSubGraphs
- Specified by:
getSubGraphsin interfaceAttributeNode<J>
-
getKeySubGraphs
- Specified by:
getKeySubGraphsin interfaceAttributeNode<J>
-
getSubgraphs
Description copied from interface:AttributeNodeReturn the Map<Class, Subgraph> of subgraphs associated with this attribute node.- Specified by:
getSubgraphsin interfaceAttributeNode<J>- Specified by:
getSubgraphsin interfaceAttributeNode<J>- Returns:
- Map of subgraphs associated with this attribute node or empty Map if none have been defined
-
getKeySubgraphs
Description copied from interface:AttributeNodeReturn the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.- Specified by:
getKeySubgraphsin interfaceAttributeNode<J>- Specified by:
getKeySubgraphsin interfaceAttributeNode<J>- Returns:
- Map of subgraphs associated with this attribute node's map key or empty Map if none have been defined
-
makeCopy
-
makeSubGraph
SubGraphImplementor<J> makeSubGraph()- Specified by:
makeSubGraphin interfaceAttributeNode<J>
-
makeKeySubGraph
SubGraphImplementor<J> makeKeySubGraph()- Specified by:
makeKeySubGraphin interfaceAttributeNode<J>
-
makeSubGraph
- Specified by:
makeSubGraphin interfaceAttributeNode<J>
-
makeKeySubGraph
- Specified by:
makeKeySubGraphin interfaceAttributeNode<J>
-
makeSubGraph
-
makeKeySubGraph
-
merge
-
addSubGraph
-