Package javax.persistence
Annotation Type NamedAttributeNode
-
@Target({}) @Retention(RUNTIME) public @interface NamedAttributeNode
The NamedAttributeNode annotation is used to specify an attribute node of within an entity graph or subgraph.- Since:
- JPA 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringkeySubgraphRefers to a NamedSubgraph specification that further characterizes an attribute node corresponding to the key of a Map-valued attribute.StringsubgraphRefers to a NamedSubgraph specification that further characterizes an attribute node corresponding to a managed type (entity or embeddable).
-
-
-
-
subgraph
String subgraph
Refers 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 keySubgraph
Refers 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:
- ""
-
-