Interface TextLineItemValue


public interface TextLineItemValue
TextLineItemValue
Example to create an instance using the builder pattern

     TextLineItemValue textLineItemValue = TextLineItemValue.builder()
             .id("{id}")
             .name(nameBuilder -> nameBuilder)
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull String getId()

      id of the TextLineItem.

      Returns:
      id
    • getName

      @NotNull @Valid @NotNull @Valid LocalizedString getName()

      Name of the TextLineItem.

      Returns:
      name
    • setId

      void setId(String id)

      id of the TextLineItem.

      Parameters:
      id - value to be set
    • setName

      void setName(LocalizedString name)

      Name of the TextLineItem.

      Parameters:
      name - value to be set
    • of

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

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

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

      static TextLineItemValueBuilder builder()
      builder factory method for TextLineItemValue
      Returns:
      builder
    • builder

      static TextLineItemValueBuilder builder(TextLineItemValue template)
      create builder for TextLineItemValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withTextLineItemValue

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