Package jakarta.data.model
Interface AttributeInfo
public interface AttributeInfo
Implemented by the Jakarta Data provider to
initialize an attribute field
in the StaticMetamodel.-
Method Summary
Modifier and TypeMethodDescriptionasc()Returns a request for an ascendingSortbased on the entity attribute.Returns a request for an ascending, case insensitiveSortbased on the entity attribute.desc()Returns a request for a descendingSortbased on the entity attribute.Returns a request for a descending, case insensitiveSortbased on the entity attribute.name()Returns the name of the entity attribute, suitable for use wherever the specification requires an entity attribute name.
-
Method Details
-
asc
Sort asc()Returns a request for an ascendingSortbased on the entity attribute.- Returns:
- a request for an ascending
Sortbased on the entity attribute.
-
ascIgnoreCase
Sort ascIgnoreCase()Returns a request for an ascending, case insensitiveSortbased on the entity attribute.- Returns:
- a request for an ascending, case insensitive sort on the entity attribute.
-
desc
Sort desc()Returns a request for a descendingSortbased on the entity attribute.- Returns:
- a request for a descending
Sortbased on the entity attribute.
-
descIgnoreCase
Sort descIgnoreCase()Returns a request for a descending, case insensitiveSortbased on the entity attribute.- Returns:
- a request for a descending, case insensitive sort on the entity attribute.
-
name
String name()Returns the name of the entity attribute, suitable for use wherever the specification requires an entity attribute name. For example, as the parameter toSort.asc(String).- Returns:
- the entity attribute name.
-