public interface IAnswerData extends Externalizable
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
cast(UncastData data)
Casts the provided data into this data type.
|
IAnswerData |
clone() |
String |
getDisplayText() |
Object |
getValue() |
void |
setValue(Object o) |
UncastData |
uncast()
Data types can be uncast if they are expected to be used
in different contexts.
|
static IAnswerData |
wrapData(Object val,
int intDataType)
convert the data object returned by the xpath expression into an IAnswerData suitable for
storage in the FormInstance
|
readExternal, writeExternalstatic IAnswerData wrapData(Object val, int intDataType)
void setValue(Object o)
o - the value of this answerdata object. Cannot be null.
Null Data will not overwrite existing values.NullPointerException - if o is null@NotNull Object getValue()
String getDisplayText()
IAnswerData clone()
UncastData uncast()
IAnswerData cast(UncastData data) throws IllegalArgumentException
data - An uncast data value which is compatible
with this data typeIllegalArgumentException - If the uncast data is
not in a compatible formatCopyright © 2024. All rights reserved.