Interface DateTimeSetField

All Superinterfaces:
CustomField

public interface DateTimeSetField extends CustomField

A field with a date time set value.


Example to create an instance using the builder pattern

     DateTimeSetField dateTimeSetField = DateTimeSetField.builder()
             .plusValue(valueBuilder -> valueBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getValue

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

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

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

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

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

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

      static DateTimeSetFieldBuilder builder()
      builder factory method for DateTimeSetField
      Returns:
      builder
    • builder

      static DateTimeSetFieldBuilder builder(DateTimeSetField template)
      create builder for DateTimeSetField instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withDateTimeSetField

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