@Target(value={}) @Retention(value=RUNTIME) public @interface NamedAttributeNode
NamedAttributeNode
is a member element of a
NamedEntityGraph
.NamedEntityGraph
,
NamedSubgraph
Modifier and Type | Required Element and Description |
---|---|
String |
value
(Required) The name of the attribute that must be included in the graph.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
keySubgraph
(Optional) If the attribute references a Map type, this element
can be used to specify a subgraph for the Key in the case of an
Entity key type.
|
String |
subgraph
(Optional) If the attribute references a managed type that has
its own AttributeNodes, this element is used to refer to that
NamedSubgraph definition.
|
public abstract String value
public abstract String subgraph
The value of this element is the name of the subgraph as
specified by the name
element of the corresponding
NamedSubgraph
element. If multiple subgraphs are
specified due to inheritance, they are referenced by this name.
public abstract String keySubgraph
The value of this element is the name of the key subgraph as
specified by the name
element of the corresponding
NamedSubgraph
element. If multiple key subgraphs
are specified due to inheritance, they are referenced by this
name.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.