Interface SearchDateRangeValue

All Superinterfaces:
SearchQueryExpressionValue

public interface SearchDateRangeValue extends SearchQueryExpressionValue
SearchDateRangeValue
Example to create an instance using the builder pattern

     SearchDateRangeValue searchDateRangeValue = SearchDateRangeValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getGte

      LocalDate getGte()
      Returns:
      gte
    • getGt

      LocalDate getGt()
      Returns:
      gt
    • getLte

      LocalDate getLte()
      Returns:
      lte
    • getLt

      LocalDate getLt()
      Returns:
      lt
    • setGte

      void setGte(LocalDate gte)
      set gte
      Parameters:
      gte - value to be set
    • setGt

      void setGt(LocalDate gt)
      set gt
      Parameters:
      gt - value to be set
    • setLte

      void setLte(LocalDate lte)
      set lte
      Parameters:
      lte - value to be set
    • setLt

      void setLt(LocalDate lt)
      set lt
      Parameters:
      lt - value to be set
    • of

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

      factory method to create a shallow copy SearchDateRangeValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of SearchDateRangeValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static SearchDateRangeValueBuilder builder()
      builder factory method for SearchDateRangeValue
      Returns:
      builder
    • builder

      create builder for SearchDateRangeValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchDateRangeValue

      default <T> T withSearchDateRangeValue(Function<SearchDateRangeValue,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<SearchDateRangeValue> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference