Uses of Interface
jakarta.persistence.metamodel.SingularAttribute
Packages that use SingularAttribute
Package
Description
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.
Defines an API for the programmatic definition of SQL result set
mappings to Java classes.
-
Uses of SingularAttribute in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria with parameters of type SingularAttributeModifier and TypeMethodDescriptionFetchParent.fetch(SingularAttribute<? super X, Y> attribute) Create a fetch join to the specified single-valued attribute using an inner join.FetchParent.fetch(SingularAttribute<? super X, Y> attribute, JoinType jt) Create a fetch join to the specified single-valued attribute using the given join type.<Y> Path<Y> Path.get(SingularAttribute<? super X, Y> attribute) Create a path corresponding to the referenced single-valued attribute.From.join(SingularAttribute<? super X, Y> attribute) Create an inner join to the specified single-valued attribute.From.join(SingularAttribute<? super X, Y> attribute, JoinType jt) Create a join to the specified single-valued attribute using the given join type.<Y> CriteriaUpdate<T> CriteriaUpdate.set(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) Update the value of the specified attribute.<Y, X extends Y>
CriteriaUpdate<T> CriteriaUpdate.set(SingularAttribute<? super T, Y> attribute, X value) Update the value of the specified attribute. -
Uses of SingularAttribute in jakarta.persistence.metamodel
Subinterfaces of SingularAttribute in jakarta.persistence.metamodelModifier and TypeInterfaceDescriptioninterfaceInstances of the type BooleanAttribute represents persistent single-valued properties or fields of boolean type.interfaceComparableAttribute<X, C extends Comparable<? super C>>Instances of the type ComparableAttribute represents persistent single-valued properties or fields of comparable type.interfaceNumericAttribute<X, N extends Number & Comparable<N>>Instances of the type NumericAttribute represents persistent single-valued properties or fields of number type.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 SingularAttributeModifier and TypeMethodDescription<Y> SingularAttribute<X, Y> IdentifiableType.getDeclaredId(Class<Y> type) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass.ManagedType.getDeclaredSingularAttribute(String name) Return the single-valued attribute declared by the managed type that corresponds to the specified name.<Y> SingularAttribute<X, Y> ManagedType.getDeclaredSingularAttribute(String name, Class<Y> type) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type.<Y> SingularAttribute<X, Y> IdentifiableType.getDeclaredVersion(Class<Y> type) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass.<Y> SingularAttribute<? super X, Y> Return the attribute that corresponds to the id attribute of the entity or mapped superclass.SingularAttribute<? super X, ?> ManagedType.getSingularAttribute(String name) Return the single-valued attribute of the managed type that corresponds to the specified name.<Y> SingularAttribute<? super X, Y> ManagedType.getSingularAttribute(String name, Class<Y> type) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type.<Y> SingularAttribute<? super X, Y> IdentifiableType.getVersion(Class<Y> type) Return the attribute that corresponds to the version attribute of the entity or mapped superclass.Methods in jakarta.persistence.metamodel that return types with arguments of type SingularAttributeModifier and TypeMethodDescriptionSet<SingularAttribute<X, ?>> ManagedType.getDeclaredSingularAttributes()Return the single-valued attributes declared by the managed type.Set<SingularAttribute<? super X, ?>> IdentifiableType.getIdClassAttributes()Return the attributes corresponding to the id class of the identifiable type.Set<SingularAttribute<? super X, ?>> ManagedType.getSingularAttributes()Return the single-valued attributes of the managed type. -
Uses of SingularAttribute in jakarta.persistence.sql
Methods in jakarta.persistence.sql with parameters of type SingularAttributeModifier and TypeMethodDescriptionstatic <C,T> EmbeddedMapping <C, T> ResultSetMapping.embedded(SingularAttribute<? super C, T> embedded, MemberMapping<T>... fields) Construct a mapping for an embedded object.static <C,T> FieldMapping <C, T> ResultSetMapping.field(SingularAttribute<? super C, T> attribute, String columnName) Construct a mapping for a field or property of an entity or embeddable type.static <C,T> EmbeddedMapping <C, T> EmbeddedMapping.of(SingularAttribute<? super C, T> embedded, MemberMapping<T>... fields) Construct a new instance.static <C,T> FieldMapping <C, T> FieldMapping.of(SingularAttribute<? super C, T> attribute, String columnName) Construct a new instance.