Interface CustomFieldExpandedValue


public interface CustomFieldExpandedValue

Only present if expand is set to true.


Example to create an instance using the builder pattern

     CustomFieldExpandedValue customFieldExpandedValue = CustomFieldExpandedValue.builder()
             .name("{name}")
             .label(labelBuilder -> labelBuilder)
             .build()
 
  • Method Details

    • getName

      @NotNull @NotNull String getName()

      Name of the Custom Field.

      Returns:
      name
    • getValue

      @NotNull @NotNull Object getValue()

      CustomFieldValue based on the FieldType.

      Returns:
      value
    • getLabel

      @NotNull @Valid @NotNull @Valid LocalizedString getLabel()

      User-defined label of the Custom Field.

      Returns:
      label
    • setName

      void setName(String name)

      Name of the Custom Field.

      Parameters:
      name - value to be set
    • setValue

      void setValue(Object value)

      CustomFieldValue based on the FieldType.

      Parameters:
      value - value to be set
    • setLabel

      void setLabel(LocalizedString label)

      User-defined label of the Custom Field.

      Parameters:
      label - value to be set
    • of

      factory method
      Returns:
      instance of CustomFieldExpandedValue
    • of

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

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

      builder factory method for CustomFieldExpandedValue
      Returns:
      builder
    • builder

      create builder for CustomFieldExpandedValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomFieldExpandedValue

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