Uses of Interface
jakarta.persistence.metamodel.Attribute
Packages that use Attribute
Package
Description
Defines the core APIs for the management for persistence and
object/relational mapping.
Defines the Jakarta Persistence Criteria Query API.
Defines the Jakarta Persistence Metamodel API, allowing runtime
reflection on the managed types declared by a persistence unit.
-
Uses of Attribute in jakarta.persistence
Methods in jakarta.persistence that return AttributeModifier and TypeMethodDescriptionAttributeNode.getAttribute()The attribute from which this branch of the graph or subgraph is forked.Methods in jakarta.persistence with parameters of type AttributeModifier 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, cancelling the effect of any prior removal.voidGraph.addAttributeNodes(Attribute<? super T, ?>... attribute) Add one or more attribute nodes to the entity graph, cancelling the effect of any prior removals.<X> Subgraph<X> Graph.addSubgraph(Attribute<? super T, X> attribute) Add a node to the graph representing a managed type.<Y> Subgraph<Y> Graph.addTreatedSubgraph(Attribute<? super T, ? super Y> attribute, Class<Y> type) Add a node to the graph representing a managed type with inheritance.<Y> AttributeNode<Y> Graph.getAttributeNode(Attribute<? super T, Y> attribute) Get an existing attribute node for the given attribute.booleanGraph.hasAttributeNode(Attribute<? super T, ?> attribute) Determine if there is an existing attribute node for the given attribute.<E> booleanDetermine the load state of a given persistent attribute of an entity belonging to the persistence unit.<E> voidLoad the persistent value of a given persistent attribute of an entity belonging to the persistence unit and to an open persistence context.voidGraph.removeAttributeNode(Attribute<? super T, ?> attribute) Remove an attribute node from the entity graph, cancelling the effect of any prior addition. -
Uses of Attribute in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return AttributeModifier 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
Subinterfaces of Attribute in jakarta.persistence.metamodelModifier and TypeInterfaceDescriptioninterfaceInstances of the type BooleanAttribute represents persistent single-valued properties or fields of boolean type.interfaceCollectionAttribute<X,E> Instances of the typeCollectionAttributerepresent persistentCollection-valued attributes.interfaceComparableAttribute<X, C extends Comparable<? super C>>Instances of the type ComparableAttribute represents persistent single-valued properties or fields of comparable type.interfaceListAttribute<X,E> Instances of the typeListAttributerepresent persistentList-valued attributes.interfaceMapAttribute<X,K, V> Instances of the typeMapAttributerepresent persistentMap-valued attributes.interfaceNumericAttribute<X, N extends Number & Comparable<N>>Instances of the type NumericAttribute represents persistent single-valued properties or fields of number type.interfacePluralAttribute<X,C, E> Instances of the typePluralAttributerepresent persistent collection-valued attributes.interfaceSetAttribute<X,E> Instances of the typeSetAttributerepresent persistentSet-valued attributes.interfaceSingularAttribute<X,T> Instances of the typeSingularAttributerepresents persistent single-valued properties or fields.interfaceTemporalAttribute<X, T extends Temporal & Comparable<? super T>>Instances of the type TemporalAttribute represents persistent single-valued properties or fields of a temporal type.interfaceInstances of the type TextAttribute represents persistent single-valued properties or fields of string type.Methods in jakarta.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 jakarta.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.