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:
  • Method Summary

    Modifier and Type
    Method
    Description
    The attribute from which this branch of the graph or subgraph is forked.
    Return the name of the attribute corresponding to the attribute node.
    Return a map of subgraphs associated with this attribute node's map key.
    Return a map of subgraphs associated with this attribute node.
  • Method Details

    • getAttributeName

      String getAttributeName()
      Return the name of the attribute corresponding to the attribute node.
      Returns:
      name of the attribute
    • getAttribute

      Attribute<?,T> getAttribute()
      The attribute from which this branch of the graph or subgraph is forked.
      Returns:
      The metamodel object representing the graphed attribute
      Since:
      4.0
    • getSubgraphs

      Map<Class<?>, Subgraph<?>> getSubgraphs()
      Return a map of subgraphs associated with this attribute node.
      Returns:
      a Map of subgraphs associated with this attribute node or an empty Map if none have been defined
    • getKeySubgraphs

      Map<Class<?>, Subgraph<?>> getKeySubgraphs()
      Return a map of subgraphs associated with this attribute node's map key.
      Returns:
      a Map of subgraphs associated with this attribute node's map key or an empty Map if none have been defined