@Repeatable(NamedEntityGraphs.class) @Target(TYPE) @Retention(RUNTIME) public @interface NamedEntityGraph
Modifier and Type | Optional Element | 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.
|
java.lang.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.
|
java.lang.String name
NamedAttributeNode[] attributeNodes
boolean includeAllAttributes
NamedSubgraph[] subgraphs
NamedSubgraph[] subclassSubgraphs
Copyright © 2018. All rights reserved.