@Repeatable(value=NamedEntityGraphs.class) @Target(value=TYPE) @Retention(value=RUNTIME) public @interface NamedEntityGraph
Modifier and Type | Optional Element and Description |
---|---|
NamedAttributeNode[] |
attributeNodes
(Optional) A list of attributes of the entity that are included in
this graph.
|
boolean |
includeAllAttributes
(Optional) Includes all of the attributes of the annotated
entity class as attribute nodes in the NamedEntityGraph without
the need to explicitly list them.
|
String |
name
(Optional) The name of the entity graph.
|
NamedSubgraph[] |
subclassSubgraphs
(Optional) A list of subgraphs that will add additional
attributes for subclasses of the annotated entity class to the
entity graph.
|
NamedSubgraph[] |
subgraphs
(Optional) A list of subgraphs that are included in the
entity graph.
|
public abstract String name
public abstract NamedAttributeNode[] attributeNodes
public abstract boolean includeAllAttributes
public abstract NamedSubgraph[] subgraphs
public abstract NamedSubgraph[] subclassSubgraphs
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.