Package org.hibernate.graph
Interface SubGraph<J>
-
- All Known Subinterfaces:
SubGraphImplementor<J>
- All Known Implementing Classes:
SubGraphImpl
public interface SubGraph<J> extends Graph<J>, Subgraph<J>
Hibernate extension to the JPA entity-graph Subgraph contract.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
addAttributeNodes(Attribute<J,?>... attribute)
default void
addAttributeNodes(String... names)
default <X> SubGraph<X>
addKeySubgraph(Attribute<J,X> attribute)
default <X> SubGraph<? extends X>
addKeySubgraph(Attribute<J,X> attribute, Class<? extends X> type)
default <X> SubGraph<X>
addKeySubgraph(String name)
default <X> SubGraph<X>
addKeySubgraph(String name, Class<X> type)
default <X> SubGraph<X>
addSubgraph(Attribute<J,X> attribute)
default <X> SubGraph<? extends X>
addSubgraph(Attribute<J,X> attribute, Class<? extends X> type)
default <X> SubGraph<X>
addSubgraph(String name)
default <X> SubGraph<X>
addSubgraph(String name, Class<X> type)
default List<AttributeNode<?>>
getAttributeNodes()
default Class<J>
getClassType()
-
Methods inherited from interface org.hibernate.graph.Graph
addAttributeNode, addAttributeNode, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, findAttributeNode, findAttributeNode, getAttributeNodeList, getGraphAttributeNodes, getGraphedType, makeCopy, makeRootGraph, makeSubGraph
-
-
-
-
Method Detail
-
getAttributeNodes
default List<AttributeNode<?>> getAttributeNodes()
- Specified by:
getAttributeNodes
in interfaceSubgraph<J>
-
addAttributeNodes
default void addAttributeNodes(String... names)
- Specified by:
addAttributeNodes
in interfaceSubgraph<J>
-
addAttributeNodes
default void addAttributeNodes(Attribute<J,?>... attribute)
- Specified by:
addAttributeNodes
in interfaceSubgraph<J>
-
addSubgraph
default <X> SubGraph<X> addSubgraph(Attribute<J,X> attribute)
- Specified by:
addSubgraph
in interfaceSubgraph<J>
-
addSubgraph
default <X> SubGraph<? extends X> addSubgraph(Attribute<J,X> attribute, Class<? extends X> type)
- Specified by:
addSubgraph
in interfaceSubgraph<J>
-
addSubgraph
default <X> SubGraph<X> addSubgraph(String name)
- Specified by:
addSubgraph
in interfaceSubgraph<J>
-
addSubgraph
default <X> SubGraph<X> addSubgraph(String name, Class<X> type)
- Specified by:
addSubgraph
in interfaceSubgraph<J>
-
addKeySubgraph
default <X> SubGraph<X> addKeySubgraph(Attribute<J,X> attribute)
- Specified by:
addKeySubgraph
in interfaceSubgraph<J>
-
addKeySubgraph
default <X> SubGraph<? extends X> addKeySubgraph(Attribute<J,X> attribute, Class<? extends X> type)
- Specified by:
addKeySubgraph
in interfaceSubgraph<J>
-
addKeySubgraph
default <X> SubGraph<X> addKeySubgraph(String name)
- Specified by:
addKeySubgraph
in interfaceSubgraph<J>
-
addKeySubgraph
default <X> SubGraph<X> addKeySubgraph(String name, Class<X> type)
- Specified by:
addKeySubgraph
in interfaceSubgraph<J>
-
getClassType
default Class<J> getClassType()
- Specified by:
getClassType
in interfaceSubgraph<J>
-
-