Uses of Interface
javax.persistence.metamodel.SingularAttribute
-
Packages that use SingularAttribute Package Description javax.persistence.criteria Jakarta Persistence Criteria APIjavax.persistence.metamodel Jakarta Persistence Metamodel API -
-
Uses of SingularAttribute in javax.persistence.criteria
Methods in javax.persistence.criteria with parameters of type SingularAttribute Modifier and Type Method Description <Y> Fetch<X,Y>
FetchParent. fetch(SingularAttribute<? super X,Y> attribute)
Create a fetch join to the specified single-valued attribute using an inner join.<Y> Fetch<X,Y>
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.<Y> Join<X,Y>
From. join(SingularAttribute<? super X,Y> attribute)
Create an inner join to the specified single-valued attribute.<Y> Join<X,Y>
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 javax.persistence.metamodel
Methods in javax.persistence.metamodel that return SingularAttribute Modifier and Type Method Description <Y> SingularAttribute<X,Y>
IdentifiableType. getDeclaredId(java.lang.Class<Y> type)
Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass.SingularAttribute<X,?>
ManagedType. getDeclaredSingularAttribute(java.lang.String name)
Return the single-valued attribute declared by the managed type that corresponds to the specified name.<Y> SingularAttribute<X,Y>
ManagedType. getDeclaredSingularAttribute(java.lang.String name, java.lang.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(java.lang.Class<Y> type)
Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass.<Y> SingularAttribute<? super X,Y>
IdentifiableType. getId(java.lang.Class<Y> type)
Return the attribute that corresponds to the id attribute of the entity or mapped superclass.SingularAttribute<? super X,?>
ManagedType. getSingularAttribute(java.lang.String name)
Return the single-valued attribute of the managed type that corresponds to the specified name.<Y> SingularAttribute<? super X,Y>
ManagedType. getSingularAttribute(java.lang.String name, java.lang.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(java.lang.Class<Y> type)
Return the attribute that corresponds to the version attribute of the entity or mapped superclass.Methods in javax.persistence.metamodel that return types with arguments of type SingularAttribute Modifier and Type Method Description java.util.Set<SingularAttribute<X,?>>
ManagedType. getDeclaredSingularAttributes()
Return the single-valued attributes declared by the managed type.java.util.Set<SingularAttribute<? super X,?>>
IdentifiableType. getIdClassAttributes()
Return the attributes corresponding to the id class of the identifiable type.java.util.Set<SingularAttribute<? super X,?>>
ManagedType. getSingularAttributes()
Return the single-valued attributes of the managed type.
-