public interface SingleValueAnswer extends Answer
This interface represents a type of answer that can be given to a prompt. Here, the type of answer is a single value.
The value s represented using the TypedValue object. It can be either flat or hierarchical.
To instantiate an answer to a prompt that accepts a single value, you can use:
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
getValue()
Returns the value of the 'Value' reference.
|
void |
setValue(TypedValue value)
Sets the value of the '
Value' reference. |
TypedValue getValue()
This is the value that can be used as answer to a prompt.
setValue(TypedValue)void setValue(TypedValue value)
Value' reference.
This is the value that can be used as answer to a prompt.
value - the new value of the 'Value' reference.getValue()