Interface MultivalueDataHandler
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AbstractMultivalueDataHandler
,MultivalueDateDataHandler
,MultivalueDoubleDataHandler
,MultivalueIntDataHandler
,MultivalueStringDataHandler
public interface MultivalueDataHandler extends java.io.Serializable
Handles data contained in a multivalue-InternalField.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Clears all values contained in the field.java.lang.Object
getObjectValue()
com.saperion.intf.SaPropertyValue
getPropertyValue()
java.lang.String
getText()
void
parseText(java.lang.String text)
Reads the data from the text entered in the field.void
setObjectValue(java.lang.Object value)
Sets the value of this field.void
setPropertyValue(com.saperion.intf.SaPropertyValue value)
Sets the value of this field.
-
-
-
Method Detail
-
parseText
void parseText(java.lang.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
java.lang.String getText()
- Returns:
- current data as string to be written to the field.
-
clear
void clear()
Clears all values contained in the field.
-
getObjectValue
java.lang.Object getObjectValue()
- Returns:
- the data handled by this datahandler as object. It will be a java.util.List.
-
setObjectValue
void setObjectValue(java.lang.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
-
-