Interface LocalizedStringSetField

All Superinterfaces:
CustomField

public interface LocalizedStringSetField extends CustomField

A field with a localized string set value.


Example to create an instance using the builder pattern

     LocalizedStringSetField localizedStringSetField = LocalizedStringSetField.builder()
             .plusValue(valueBuilder -> valueBuilder)
             .build()
 
  • Field Details

    • LOCALIZED_STRING_SET

      static final String LOCALIZED_STRING_SET
      discriminator value for LocalizedStringSetField
      See Also:
  • Method Details

    • getValue

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

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

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

      factory method
      Returns:
      instance of LocalizedStringSetField
    • of

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

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

      builder factory method for LocalizedStringSetField
      Returns:
      builder
    • builder

      create builder for LocalizedStringSetField instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withLocalizedStringSetField

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