Interface DateTimeSetAttribute

All Superinterfaces:
Attribute

public interface DateTimeSetAttribute extends Attribute

This type represents an attribute whose value is a set of dates with time.


Example to create an instance using the builder pattern

     DateTimeSetAttribute dateTimeSetAttribute = DateTimeSetAttribute.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 DateTimeSetAttribute of()
      factory method
      Returns:
      instance of DateTimeSetAttribute
    • of

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

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

      static DateTimeSetAttributeBuilder builder()
      builder factory method for DateTimeSetAttribute
      Returns:
      builder
    • builder

      create builder for DateTimeSetAttribute instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withDateTimeSetAttribute

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