Interface OrderSearchSorting
public interface OrderSearchSorting
OrderSearchSorting
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchSorting orderSearchSorting = OrderSearchSorting.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrderSearchSortingBuilder
builder()
builder factory method for OrderSearchSortingstatic OrderSearchSortingBuilder
builder
(OrderSearchSorting template) create builder for OrderSearchSorting instancestatic OrderSearchSorting
deepCopy
(OrderSearchSorting template) factory method to create a deep copy of OrderSearchSorting@NotNull String
getField()
@Valid OrderSearchQueryExpression
getMode()
getOrder()
static OrderSearchSorting
of()
factory methodstatic OrderSearchSorting
of
(OrderSearchSorting template) factory method to create a shallow copy OrderSearchSortingvoid
set fieldvoid
setFilter
(OrderSearchQueryExpression filter) set filtervoid
setLanguage
(String language) set languagevoid
setMode
(OrderSearchSortMode mode) set modevoid
setOrder
(OrderSearchSortOrder order) set orderstatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchSorting>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withOrderSearchSorting
(Function<OrderSearchSorting, T> helper) accessor map function
-
Method Details
-
getField
- Returns:
- field
-
getLanguage
String getLanguage()- Returns:
- language
-
getOrder
OrderSearchSortOrder getOrder()- Returns:
- order
-
getMode
OrderSearchSortMode getMode()- Returns:
- mode
-
getFilter
- Returns:
- filter
-
setField
set field- Parameters:
field
- value to be set
-
setLanguage
set language- Parameters:
language
- value to be set
-
setOrder
set order- Parameters:
order
- value to be set
-
setMode
set mode- Parameters:
mode
- value to be set
-
setFilter
set filter- Parameters:
filter
- value to be set
-
of
factory method- Returns:
- instance of OrderSearchSorting
-
of
factory method to create a shallow copy OrderSearchSorting- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSearchSorting- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchSorting- Returns:
- builder
-
builder
create builder for OrderSearchSorting instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchSorting
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-