Class MultivalueDateDataHandler
- java.lang.Object
-
- com.saperion.ngc.iform.field.lookup.multi.AbstractMultivalueDataHandler
-
- com.saperion.ngc.iform.field.lookup.multi.MultivalueDateDataHandler
-
- All Implemented Interfaces:
MultivalueDataHandler
,java.io.Serializable
public class MultivalueDateDataHandler extends AbstractMultivalueDataHandler
Datahandler for multivalue-fields withDate
values.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.saperion.ngc.iform.field.lookup.multi.AbstractMultivalueDataHandler
editField
-
-
Constructor Summary
Constructors Constructor Description MultivalueDateDataHandler(com.saperion.ngc.iform.xml.EditFieldType editField)
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class com.saperion.ngc.iform.field.lookup.multi.AbstractMultivalueDataHandler
getSaPropertyValue
-
-
-
-
Method Detail
-
parseText
public void parseText(java.lang.String text)
Description copied from interface:MultivalueDataHandler
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
public java.lang.String getText()
- Returns:
- current data as string to be written to the field.
-
clear
public void clear()
Description copied from interface:MultivalueDataHandler
Clears all values contained in the field.
-
getObjectValue
public java.lang.Object getObjectValue()
- Returns:
- the data handled by this datahandler as object. It will be a java.util.List.
-
setObjectValue
public void setObjectValue(java.lang.Object value)
Description copied from interface:MultivalueDataHandler
Sets the value of this field. Accepts a T or Collection<T>.- Parameters:
value
- to set
-
setPropertyValue
public void setPropertyValue(com.saperion.intf.SaPropertyValue value)
Description copied from interface:MultivalueDataHandler
Sets the value of this field.- Parameters:
value
- property value to set
-
getPropertyValue
public com.saperion.intf.SaPropertyValue getPropertyValue()
- Returns:
- the values of this field as
SaPropertyValue
-
-