@Target(value=TYPE) @Retention(value=RUNTIME) public @interface NamedEntityGraph
| Modifier and Type | Optional Element and Description | 
|---|---|
NamedAttributeNode[] | 
attributeNodes
The attributeNodes element lists attributes of the annotated entity class that are to be included in
 the entity graph. 
 | 
boolean | 
includeAllAttributes
The includeAllAttributes element specifies that all attributes of the annotated entity class are to be
 included in the entity graph. 
 | 
String | 
name
The name element is used to refer to the entity graph. 
 | 
NamedSubgraph[] | 
subclassSubgraphs
The subclassSubgraphs element specifies a list of subgraphs that add additional attributes for
 subclasses of the root entity to which the annotation is applied. 
 | 
NamedSubgraph[] | 
subgraphs
The subgraphs element specifies a list of subgraphs, further specifying attributes that are managed
 types. 
 | 
public abstract String name
public abstract NamedAttributeNode[] attributeNodes
public abstract boolean includeAllAttributes
public abstract NamedSubgraph[] subgraphs
public abstract NamedSubgraph[] subclassSubgraphs
Copyright © 2016. All rights reserved.