Interface TimeSetField

All Superinterfaces:
CustomField

public interface TimeSetField extends CustomField

A field with a time set value.


Example to create an instance using the builder pattern

     TimeSetField timeSetField = TimeSetField.builder()
             .plusValue(valueBuilder -> valueBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getValue

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

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

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

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

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

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

      static TimeSetFieldBuilder builder()
      builder factory method for TimeSetField
      Returns:
      builder
    • builder

      static TimeSetFieldBuilder builder(TimeSetField template)
      create builder for TimeSetField instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withTimeSetField

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