Interface DateSetAttribute

All Superinterfaces:
Attribute

public interface DateSetAttribute extends Attribute

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


Example to create an instance using the builder pattern

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

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

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

      static DateSetAttributeBuilder builder()
      builder factory method for DateSetAttribute
      Returns:
      builder
    • builder

      static DateSetAttributeBuilder builder(DateSetAttribute template)
      create builder for DateSetAttribute instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withDateSetAttribute

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