Package jakarta.persistence
Interface Subgraph<T>
- Type Parameters:
T
- The type of the attribute.
- All Superinterfaces:
Graph<T>
This type represents a subgraph for an attribute node that
corresponds to a managed type. Using this class, an entity
subgraph can be embedded within an
EntityGraph
.- Since:
- 2.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the type for which this subgraph was defined.Methods inherited from interface jakarta.persistence.Graph
addAttributeNode, addAttributeNode, addAttributeNodes, addAttributeNodes, addElementSubgraph, addElementSubgraph, addElementSubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addKeySubgraph, addMapKeySubgraph, addSubgraph, addSubgraph, addSubgraph, addSubgraph, addTreatedElementSubgraph, addTreatedMapKeySubgraph, addTreatedSubgraph, getAttributeNode, getAttributeNode, getAttributeNodes, hasAttributeNode, hasAttributeNode, removeAttributeNode, removeAttributeNode, removeAttributeNodes
-
Method Details
-
getClassType
Return the type for which this subgraph was defined.- Returns:
- managed type referenced by the subgraph
-