Interface DateSetField

All Superinterfaces:
CustomField

public interface DateSetField extends CustomField

A field with a date set value.


Example to create an instance using the builder pattern

     DateSetField dateSetField = DateSetField.builder()
             .plusValue(valueBuilder -> valueBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getValue

      @NotNull @NotNull List<LocalDate> getValue()
      Returns:
      value
    • setValue

      void setValue(LocalDate... value)
      set value
      Parameters:
      value - values to be set
    • setValue

      void setValue(List<LocalDate> value)
      set value
      Parameters:
      value - values to be set
    • of

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

      static DateSetField of(DateSetField template)
      factory method to create a shallow copy DateSetField
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static DateSetField deepCopy(@Nullable DateSetField template)
      factory method to create a deep copy of DateSetField
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static DateSetFieldBuilder builder()
      builder factory method for DateSetField
      Returns:
      builder
    • builder

      static DateSetFieldBuilder builder(DateSetField template)
      create builder for DateSetField instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withDateSetField

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