Uses of Interface
jakarta.persistence.metamodel.Attribute
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
Jakarta Persistence Criteria API
Jakarta Persistence Metamodel API
-
Uses of Attribute in jakarta.persistence
Modifier and TypeMethodDescription<Y> AttributeNode
<Y> Graph.addAttributeNode
(Attribute<? super T, Y> attribute) Get an existing attribute node for the given attribute, or add a new attribute node if there is no existing node.void
Graph.addAttributeNodes
(Attribute<? super T, ?>... attribute) Add one or more attribute nodes to the entity graph.<X> Subgraph
<X> Graph.addKeySubgraph
(Attribute<? super T, X> attribute) Deprecated, for removal: This API element is subject to removal in a future version.<X> Subgraph
<? extends X> Graph.addKeySubgraph
(Attribute<? super T, X> attribute, Class<? extends X> type) Deprecated, for removal: This API element is subject to removal in a future version.<X> Subgraph
<X> Graph.addSubgraph
(Attribute<? super T, X> attribute) Add a node to the graph that corresponds to a managed type.<X> Subgraph
<? extends X> Graph.addSubgraph
(Attribute<? super T, X> attribute, Class<? extends X> type) Deprecated, for removal: This API element is subject to removal in a future version.<Y> Subgraph
<Y> Graph.addTreatedSubgraph
(Attribute<? super T, ? super Y> attribute, Class<Y> type) Add a node to the graph that corresponds to a managed type with inheritance.<Y> AttributeNode
<Y> Graph.getAttributeNode
(Attribute<? super T, Y> attribute) Get an existing attribute node for the given attribute.boolean
Graph.hasAttributeNode
(Attribute<? super T, ?> attribute) Determine if there is an existing attribute node for the given attribute.<E> boolean
Determine the load state of a given persistent attribute of an entity belonging to the persistence unit.<E> void
Load the persistent value of a given persistent attribute of an entity belonging to the persistence unit and to an open persistence context.void
Graph.removeAttributeNode
(Attribute<? super T, ?> attribute) Remove an attribute node from the entity graph. -
Uses of Attribute in jakarta.persistence.criteria
Modifier and TypeMethodDescriptionFetch.getAttribute()
Return the metamodel attribute corresponding to the fetch join.Join.getAttribute()
Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. -
Uses of Attribute in jakarta.persistence.metamodel
Modifier and TypeInterfaceDescriptioninterface
CollectionAttribute<X,
E> Instances of the typeCollectionAttribute
represent persistentCollection
-valued attributes.interface
ListAttribute<X,
E> Instances of the typeListAttribute
represent persistentList
-valued attributes.interface
MapAttribute<X,
K, V> Instances of the typeMapAttribute
represent persistentMap
-valued attributes.interface
PluralAttribute<X,
C, E> Instances of the typePluralAttribute
represent persistent collection-valued attributes.interface
SetAttribute<X,
E> Instances of the typeSetAttribute
represent persistentSet
-valued attributes.interface
SingularAttribute<X,
T> Instances of the typeSingularAttribute
represents persistent single-valued properties or fields.Modifier and TypeMethodDescriptionManagedType.getAttribute
(String name) Return the attribute of the managed type that corresponds to the specified name.ManagedType.getDeclaredAttribute
(String name) Return the attribute declared by the managed type that corresponds to the specified name.Modifier and TypeMethodDescriptionManagedType.getAttributes()
Return the attributes of the managed type.ManagedType.getDeclaredAttributes()
Return the attributes declared by the managed type.
Graph.addMapKeySubgraph(MapAttribute)