public class NumberAttributeInputCallback extends AttributeInputCallback
AbstractValidatedCallback.FailedPolicy_id, content, VALUE| Constructor and Description |
|---|
NumberAttributeInputCallback() |
NumberAttributeInputCallback(org.json.JSONObject jsonObject,
int index)
Constructor for this Callback.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Return the type of the Callback, the type name should align with the Callback type returned
from AM
|
java.lang.Double |
getValue()
The attribute Value
|
protected void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setValue(java.lang.Double value) |
getName, getPrompt, isRequiredgetFailedPolicies, getPolicies, getValidateOnly, setValidateOnlyget_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic NumberAttributeInputCallback(org.json.JSONObject jsonObject,
int index)
throws org.json.JSONException
org.json.JSONExceptionpublic NumberAttributeInputCallback()
protected void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class AttributeInputCallbackpublic void setValue(java.lang.Double value)
public java.lang.String getType()
Callbackpublic java.lang.Double getValue()