-
@Target(value={}) @Retention(value=RUNTIME) public @interface NamedAttributeNode
ANamedAttributeNode
is a member element of aNamedEntityGraph
.- Since:
- Java Persistence 2.1
- See Also:
NamedEntityGraph
,NamedSubgraph
-
-
Required Element Summary
Required Elements Modifier and Type Required Element and Description String
value
(Required) The name of the attribute that must be included in the graph.
-
Optional Element Summary
Optional Elements 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.
-
-
-
Element Detail
-
value
public abstract String value
(Required) The name of the attribute that must be included in the graph.
-
-
-
subgraph
public abstract 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. If the target type has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries will be merged into subclass subgraphs.The value of this element is the name of the subgraph as specified by the
name
element of the correspondingNamedSubgraph
element. If multiple subgraphs are specified due to inheritance, they are referenced by this name.- Default:
- ""
-
-
-
keySubgraph
public abstract 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. A keySubgraph can not be specified without the Map attribute also being specified. If the target type has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries will be merged into subclass subgraphs.The value of this element is the name of the key subgraph as specified by the
name
element of the correspondingNamedSubgraph
element. If multiple key subgraphs are specified due to inheritance, they are referenced by this name.- Default:
- ""
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/persistence/NamedAttributeNode.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.