javax.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:
    Java Persistence 2.1
  See Also:
    `EntityGraph`, `Subgraph`, `NamedAttributeNode`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAttributeName()` 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

    - #### getKeySubgraphs

          Map<Class,Subgraph> getKeySubgraphs()

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

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.