Class JpaSort.Path<T,S>
java.lang.Object
org.springframework.data.jpa.domain.JpaSort.Path<T,S>
- Enclosing class:
- JpaSort
Value object to abstract a collection of
Attribute
s.- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescription<A extends jakarta.persistence.metamodel.Attribute<S,
U>, U>
JpaSort.Path<S,U> dot
(A attribute) Collects the givenAttribute
and returning a newJpaSort.Path
pointing to the attribute type.<P extends jakarta.persistence.metamodel.PluralAttribute<S,
?, U>, U>
JpaSort.Path<S,U> dot
(P attribute) Collects the givenPluralAttribute
and returning a newJpaSort.Path
pointing to the attribute type.toString()
-
Method Details
-
dot
public <A extends jakarta.persistence.metamodel.Attribute<S,U>, JpaSort.Path<S,U> U> dot(A attribute) Collects the givenAttribute
and returning a newJpaSort.Path
pointing to the attribute type.- Parameters:
attribute
- must not be null.- Returns:
-
dot
public <P extends jakarta.persistence.metamodel.PluralAttribute<S,?, JpaSort.Path<S,U>, U> U> dot(P attribute) Collects the givenPluralAttribute
and returning a newJpaSort.Path
pointing to the attribute type.- Parameters:
attribute
- must not be null.- Returns:
-
toString
-