Interface AttributeNode<J>

Type Parameters:
J - The type of the attribute
All Superinterfaces:
AttributeNode<J>, GraphNode<J>
All Known Subinterfaces:
AttributeNodeImplementor<J,E,K>
All Known Implementing Classes:
AttributeNodeImpl

public interface AttributeNode<J> extends GraphNode<J>, AttributeNode<J>
Represents a fetched attribute in an entity graph.

An AttributeNode representing an attribute whose type is a managed type or collection of some managed type may have an associated value subgraph, which is represented by an instance of SubGraph.

Or, if the represented attribute is a Map, the AttributeNode maye have an associated key subgraph, similarly represented by a SubGraph.

Not every attribute node has a subgraph.

Extends the JPA-defined AttributeNode with additional operations.

API Note:
Historically, this interface declared operations with incorrect generic types, leading to unsound code. This was in Hibernate 7, with possible breakage to older code.