## Uses of Interface
javax.persistence.Subgraph

- Packages that use Subgraph
  Package | Description
  --- | ---
  javax.persistence | Java Persistence is the API for the management for persistence and object/relational mapping.

- - ### Uses of Subgraph in javax.persistence

    Methods in javax.persistence that return Subgraph
    Modifier and Type | Method and Description
    --- | ---
    `<X> Subgraph<X>` | Subgraph.`addKeySubgraph(Attribute<T,X> attribute)` Add a node to the graph that corresponds to a map key that is a managed type.
    `<X> Subgraph<X>` | EntityGraph.`addKeySubgraph(Attribute<T,X> attribute)` Add a node to the graph that corresponds to a map key that is a managed type.
    `<X> Subgraph<? extends X>` | Subgraph.`addKeySubgraph(Attribute<T,X> attribute, Class<? extends X> type)` Add a node to the graph that corresponds to a map key that is a managed type with inheritance.
    `<X> Subgraph<? extends X>` | EntityGraph.`addKeySubgraph(Attribute<T,X> attribute, Class<? extends X> type)` Add a node to the graph that corresponds to a map key that is a managed type with inheritance.
    `<X> Subgraph<X>` | Subgraph.`addKeySubgraph(String attributeName)` Add a node to the graph that corresponds to a map key that is a managed type.
    `<X> Subgraph<X>` | EntityGraph.`addKeySubgraph(String attributeName)` Add a node to the graph that corresponds to a map key that is a managed type.
    `<X> Subgraph<X>` | Subgraph.`addKeySubgraph(String attributeName, Class<X> type)` Add a node to the graph that corresponds to a map key that is a managed type with inheritance.
    `<X> Subgraph<X>` | EntityGraph.`addKeySubgraph(String attributeName, Class<X> type)` Add a node to the graph that corresponds to a map key that is a managed type with inheritance.
    `<T> Subgraph<? extends T>` | EntityGraph.`addSubclassSubgraph(Class<? extends T> type)` Add additional attributes to this entity graph that correspond to attributes of subclasses of this EntityGraph's entity type.
    `<X> Subgraph<X>` | Subgraph.`addSubgraph(Attribute<T,X> attribute)` Add a node to the graph that corresponds to a managed type.
    `<X> Subgraph<X>` | EntityGraph.`addSubgraph(Attribute<T,X> attribute)` Add a node to the graph that corresponds to a managed type.
    `<X> Subgraph<? extends X>` | Subgraph.`addSubgraph(Attribute<T,X> attribute, Class<? extends X> type)` Add a node to the graph that corresponds to a managed type with inheritance.
    `<X> Subgraph<? extends X>` | EntityGraph.`addSubgraph(Attribute<T,X> attribute, Class<? extends X> type)` Add a node to the graph that corresponds to a managed type with inheritance.
    `<X> Subgraph<X>` | Subgraph.`addSubgraph(String attributeName)` Add a node to the graph that corresponds to a managed type.
    `<X> Subgraph<X>` | EntityGraph.`addSubgraph(String attributeName)` Add a node to the graph that corresponds to a managed type.
    `<X> Subgraph<X>` | Subgraph.`addSubgraph(String attributeName, Class<X> type)` Add a node to the graph that corresponds to a managed type with inheritance.
    `<X> Subgraph<X>` | EntityGraph.`addSubgraph(String attributeName, Class<X> type)` Add a node to the graph that corresponds to a managed type with inheritance.

    Methods in javax.persistence that return types with arguments of type Subgraph
    Modifier and Type | Method and Description
    --- | ---
    `Map<Class,Subgraph>` | AttributeNode.`getKeySubgraphs()` Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.
    `Map<Class,Subgraph>` | AttributeNode.`getSubgraphs()` Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.

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