Interface MultivalueDataHandler
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractMultivalueDataHandler,MultivalueDateDataHandler,MultivalueDoubleDataHandler,MultivalueIntDataHandler,MultivalueStringDataHandler
Handles data contained in a multivalue-InternalField.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears all values contained in the field.com.saperion.intf.SaPropertyValuegetText()voidReads the data from the text entered in the field.voidsetObjectValue(Object value) Sets the value of this field.voidsetPropertyValue(com.saperion.intf.SaPropertyValue value) Sets the value of this field.
-
Method Details
-
parseText
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
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
-