public static class SortOrderDTO.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
SortOrderDTO |
build()
Builds a SortOrderDTO based on the provided builder parameters.
|
SortOrderDTO.Builder |
withDirection(SortDirection direction)
Set the sort direction.
|
SortOrderDTO.Builder |
withNullOrder(NullOrdering nullOrdering)
Set the null ordering.
|
SortOrderDTO.Builder |
withSortTerm(FunctionArg sortTerm)
Set the sort term.
|
public SortOrderDTO.Builder withSortTerm(FunctionArg sortTerm)
sortTerm
- The sort term to set.public SortOrderDTO.Builder withDirection(SortDirection direction)
direction
- The sort direction to set.public SortOrderDTO.Builder withNullOrder(NullOrdering nullOrdering)
nullOrdering
- The null ordering to set.public SortOrderDTO build()