Interface OrderSearchSorting


public interface OrderSearchSorting
OrderSearchSorting
Example to create an instance using the builder pattern

     OrderSearchSorting orderSearchSorting = OrderSearchSorting.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getField

      @NotNull @NotNull String getField()
      Returns:
      field
    • getLanguage

      String getLanguage()
      Returns:
      language
    • getOrder

      Returns:
      order
    • getMode

      Returns:
      mode
    • getFilter

      @Valid @Valid OrderSearchQueryExpression getFilter()
      Returns:
      filter
    • setField

      void setField(String field)
      set field
      Parameters:
      field - value to be set
    • setLanguage

      void setLanguage(String language)
      set language
      Parameters:
      language - value to be set
    • setOrder

      void setOrder(OrderSearchSortOrder order)
      set order
      Parameters:
      order - value to be set
    • setMode

      void setMode(OrderSearchSortMode mode)
      set mode
      Parameters:
      mode - value to be set
    • setFilter

      void setFilter(OrderSearchQueryExpression filter)
      set filter
      Parameters:
      filter - value to be set
    • of

      static OrderSearchSorting of()
      factory method
      Returns:
      instance of OrderSearchSorting
    • of

      static OrderSearchSorting of(OrderSearchSorting template)
      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

      static OrderSearchSortingBuilder builder()
      builder factory method for OrderSearchSorting
      Returns:
      builder
    • builder

      static OrderSearchSortingBuilder builder(OrderSearchSorting template)
      create builder for OrderSearchSorting instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderSearchSorting

      default <T> T withOrderSearchSorting(Function<OrderSearchSorting,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<OrderSearchSorting> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference