Interface MultivalueDataHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractMultivalueDataHandler, MultivalueDateDataHandler, MultivalueDoubleDataHandler, MultivalueIntDataHandler, MultivalueStringDataHandler

public interface MultivalueDataHandler extends Serializable
Handles data contained in a multivalue-InternalField.
  • Method Details

    • parseText

      void parseText(String text)
      Reads the data from the text entered in the field. This methods throws an IllegalArgumentException when parsing the data failed.
      Parameters:
      text - field's text
    • getText

      String getText()
      Returns:
      current data as string to be written to the field.
    • clear

      void clear()
      Clears all values contained in the field.
    • getObjectValue

      Object getObjectValue()
      Returns:
      the data handled by this datahandler as object. It will be a java.util.List.
    • setObjectValue

      void setObjectValue(Object value)
      Sets the value of this field. Accepts a T or Collection<T>.
      Parameters:
      value - to set
    • setPropertyValue

      void setPropertyValue(com.saperion.intf.SaPropertyValue value)
      Sets the value of this field.
      Parameters:
      value - property value to set
    • getPropertyValue

      com.saperion.intf.SaPropertyValue getPropertyValue()
      Returns:
      the values of this field as SaPropertyValue