| Package | Description | 
|---|---|
| javax.persistence | Java Persistence is the API for the management for persistence and object/relational mapping. | 
| javax.persistence.criteria | Java Persistence Criteria API | 
| javax.persistence.metamodel | Java Persistence Metamodel API | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Subgraph. addAttributeNodes(Attribute<T,?>... attribute)Add one or more attribute nodes to the entity graph. | 
| void | EntityGraph. addAttributeNodes(Attribute<T,?>... attribute)Add one or more attribute nodes to the entity graph. | 
| <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. 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute<? super Z,?> | Join. getAttribute()Return the metamodel attribute corresponding to the join. | 
| Attribute<? super Z,?> | Fetch. getAttribute()Return the metamodel attribute corresponding to the 
 fetch join. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | CollectionAttribute<X,E>Instances of the type  CollectionAttributerepresent persistentjava.util.Collection-valued attributes. | 
| interface  | ListAttribute<X,E>Instances of the type  ListAttributerepresent persistentjavax.util.List-valued attributes. | 
| interface  | MapAttribute<X,K,V>Instances of the type  MapAttributerepresent
 persistentjava.util.Map-valued attributes. | 
| interface  | PluralAttribute<X,C,E>Instances of the type  PluralAttributerepresent 
 persistent collection-valued attributes. | 
| interface  | SetAttribute<X,E>Instances of the type  SetAttributerepresent
 persistentjava.util.Set-valued attributes. | 
| interface  | SingularAttribute<X,T>Instances of the type  SingularAttributerepresents persistent 
 single-valued properties or fields. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute<? super X,?> | ManagedType. getAttribute(String name)Return the attribute of the managed
  type that corresponds to the specified name. | 
| Attribute<X,?> | ManagedType. getDeclaredAttribute(String name)Return the attribute declared by the managed
  type that corresponds to the specified name. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<Attribute<? super X,?>> | ManagedType. getAttributes()Return the attributes of the managed type. | 
| Set<Attribute<X,?>> | ManagedType. getDeclaredAttributes()Return the attributes declared by the managed type. | 
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.