public class BooleanAttributeInputCallback extends AttributeInputCallback
AbstractValidatedCallback.FailedPolicy_id, content, VALUE| Constructor and Description |
|---|
BooleanAttributeInputCallback() |
BooleanAttributeInputCallback(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.Boolean |
getValue()
The attribute Value
|
protected void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setValue(java.lang.Boolean value) |
getName, getPrompt, isRequiredgetFailedPolicies, getPolicies, getValidateOnly, setValidateOnlyget_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic BooleanAttributeInputCallback(org.json.JSONObject jsonObject,
int index)
throws org.json.JSONException
org.json.JSONExceptionpublic BooleanAttributeInputCallback()
protected void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class AttributeInputCallbackpublic void setValue(java.lang.Boolean value)
public java.lang.String getType()
Callbackpublic java.lang.Boolean getValue()