The NamedAttributeNode annotation is used to specify an attribute node of within an entity graph or subgraph.
- Since:
- JPA 2.1
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionRefers to a NamedSubgraph specification that further characterizes an attribute node corresponding to the key of a Map-valued attribute.Refers to a NamedSubgraph specification that further characterizes an attribute node corresponding to a managed type (entity or embeddable).
-
Element Details
-
value
String valueSpecifies the name of the corresponding attribute.- Returns:
- value
-
-
-
subgraph
String subgraphRefers to a NamedSubgraph specification that further characterizes an attribute node corresponding to a managed type (entity or embeddable). The value of the subgraph element must correspond to the name used for the subgraph in the NamedSubgraph element. If the referenced attribute is an entity which has entity subclasses, there may be more than one NamedSubgraph element with this name, and the subgraph element is considered to refer to all of these.- Returns:
- subgraph
- Default:
- ""
-
keySubgraph
String keySubgraphRefers to a NamedSubgraph specification that further characterizes an attribute node corresponding to the key of a Map-valued attribute. The value of the the keySubgraph element must correspond to the name used for the subgraph in the NamedSubgraph element. If the referenced attribute is an entity which has entity subclasses, there may be more than one NamedSubgraph element with this name, and the keySubgraph element is considered to refer to all of these.- Returns:
- key subgraph
- Default:
- ""
-