Class StringAttributeInputCallback
- java.lang.Object
-
- org.forgerock.android.auth.callback.AbstractCallback
-
- org.forgerock.android.auth.callback.AbstractValidatedCallback
-
- org.forgerock.android.auth.callback.AttributeInputCallback
-
- org.forgerock.android.auth.callback.StringAttributeInputCallback
-
- All Implemented Interfaces:
java.io.Serializable,Callback
public class StringAttributeInputCallback extends AttributeInputCallback
Implements a Callback for collection of a single identity object attribute from a user.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.forgerock.android.auth.callback.AbstractValidatedCallback
AbstractValidatedCallback.FailedPolicy
-
-
Field Summary
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractCallback
_id, content, VALUE
-
-
Constructor Summary
Constructors Constructor Description StringAttributeInputCallback()StringAttributeInputCallback(org.json.JSONObject jsonObject, int index)Constructor for this Callback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AMjava.lang.StringgetValue()The attribute Valueprotected voidsetAttribute(java.lang.String name, java.lang.Object value)voidsetValue(java.lang.String value)-
Methods inherited from class org.forgerock.android.auth.callback.AttributeInputCallback
getName, getPrompt, isRequired
-
Methods inherited from class org.forgerock.android.auth.callback.AbstractValidatedCallback
getFailedPolicies, getPolicies, getValidateOnly, setValidateOnly
-
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValue
-
-
-
-
Method Detail
-
setAttribute
protected void setAttribute(java.lang.String name, java.lang.Object value)- Overrides:
setAttributein classAttributeInputCallback
-
setValue
public void setValue(java.lang.String value)
-
getType
public java.lang.String getType()
Description copied from interface:CallbackReturn the type of the Callback, the type name should align with the Callback type returned from AM
-
getValue
public java.lang.String getValue()
The attribute Value
-
-