Package jakarta.persistence
Interface AttributeNode<T>
-
- Type Parameters:
T- The type of the attribute.
public interface AttributeNode<T>Represents an attribute node of an entity graph.- Since:
- 2.1
- See Also:
EntityGraph,Subgraph,NamedAttributeNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttributeName()Return the name of the attribute corresponding to the attribute node.Map<Class,Subgraph>getKeySubgraphs()Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.Map<Class,Subgraph>getSubgraphs()Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.
-
-
-
Method Detail
-
getAttributeName
String getAttributeName()
Return the name of the attribute corresponding to the attribute node.- Returns:
- name of the attribute
-
getSubgraphs
Map<Class,Subgraph> getSubgraphs()
Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.- Returns:
- Map of subgraphs associated with this attribute node or empty Map if none have been defined
-
-