public static class BooleanConnector.BooleanResult extends BusinessEntity
| Constructor and Description |
|---|
BooleanResult(boolean result,
java.lang.String message)
Constructor.
|
BooleanResult(org.json.JSONObject jsonObject)
Constructor.
|
BooleanResult(java.lang.String json)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Return the message.
|
boolean |
getResult()
Return the value of result.
|
protected void |
loadFromJSONObject(org.json.JSONObject jsonObject)
Set the BusinessEntity's properties loading them from a JSONObject.
|
org.json.JSONObject |
toJSONObject()
Convert a BusinessEntity to JSONObject.
|
getJSONObject, toStringpublic BooleanResult(boolean result,
java.lang.String message)
result - The result (boolean).message - The message (String).BooleanResult(java.lang.String json)
BooleanResult(org.json.JSONObject jsonObject)
protected void loadFromJSONObject(org.json.JSONObject jsonObject)
BusinessEntityloadFromJSONObject in class BusinessEntityjsonObject - The JSONObject.BusinessEntity.loadFromJSONObject(JSONObject)public boolean getResult()
public java.lang.String getMessage()
public org.json.JSONObject toJSONObject()
BusinessEntitytoJSONObject in class BusinessEntityBusinessEntity.toJSONObject()