Uses of Interface
javax.persistence.metamodel.Attribute
Packages that use 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 javax.persistence
Methods in javax.persistence with parameters of type AttributeModifier and TypeMethodDescriptionvoid
EntityGraph.addAttributeNodes
(Attribute<T, ?>... attribute) Add one or more attribute nodes to the entity graph.void
Subgraph.addAttributeNodes
(Attribute<T, ?>... attribute) Add one or more attribute nodes to the entity graph.<X> Subgraph
<X> EntityGraph.addKeySubgraph
(Attribute<T, X> attribute) Add a node to the graph that corresponds to a map key that is a managed type.<X> Subgraph
<? extends X> EntityGraph.addKeySubgraph
(Attribute<T, X> attribute, Class<? extends X> type) Add a node to the graph that corresponds to a map key that is a managed type with inheritance.<X> Subgraph
<X> Subgraph.addKeySubgraph
(Attribute<T, X> attribute) Add a node to the graph that corresponds to a map key that is a managed type.<X> Subgraph
<? extends X> Subgraph.addKeySubgraph
(Attribute<T, X> attribute, Class<? extends X> type) Add a node to the graph that corresponds to a map key that is a managed type with inheritance.<X> Subgraph
<X> EntityGraph.addSubgraph
(Attribute<T, X> attribute) Add a node to the graph that corresponds to a managed type.<X> Subgraph
<? extends X> EntityGraph.addSubgraph
(Attribute<T, X> attribute, Class<? extends X> type) Add a node to the graph that corresponds to a managed type with inheritance.<X> Subgraph
<X> Subgraph.addSubgraph
(Attribute<T, X> attribute) Add a node to the graph that corresponds to a managed type.<X> Subgraph
<? extends X> Subgraph.addSubgraph
(Attribute<T, X> attribute, Class<? extends X> type) Add a node to the graph that corresponds to a managed type with inheritance. -
Uses of Attribute in javax.persistence.criteria
Methods in javax.persistence.criteria that return AttributeModifier and TypeMethodDescriptionFetch.getAttribute()
Return the metamodel attribute corresponding to the fetch join.Join.getAttribute()
Return the metamodel attribute corresponding to the join. -
Uses of Attribute in javax.persistence.metamodel
Subinterfaces of Attribute in javax.persistence.metamodelModifier and TypeInterfaceDescriptioninterface
CollectionAttribute<X,
E> Instances of the typeCollectionAttribute
represent persistentjava.util.Collection
-valued attributes.interface
ListAttribute<X,
E> Instances of the typeListAttribute
represent persistentjavax.util.List
-valued attributes.interface
MapAttribute<X,
K, V> Instances of the typeMapAttribute
represent persistentjava.util.Map
-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 persistentjava.util.Set
-valued attributes.interface
SingularAttribute<X,
T> Instances of the typeSingularAttribute
represents persistent single-valued properties or fields.Methods in javax.persistence.metamodel that return AttributeModifier 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.Methods in javax.persistence.metamodel that return types with arguments of type AttributeModifier and TypeMethodDescriptionManagedType.getAttributes()
Return the attributes of the managed type.ManagedType.getDeclaredAttributes()
Return the attributes declared by the managed type.