-
- Type Parameters:
T
- The type of the attribute.
- All Superinterfaces:
Graph<T>
public interface Subgraph<T> extends 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 anEntityGraph
.- Since:
- 2.1
- See Also:
EntityGraph
,AttributeNode
,NamedSubgraph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<T>
getClassType()
Return 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 Detail
-
getClassType
java.lang.Class<T> getClassType()
Return the type for which this subgraph was defined.- Returns:
- managed type referenced by the subgraph
-
-