public abstract class AbstractJsonMapping extends Object implements Serializable
Constructor and Description |
---|
AbstractJsonMapping() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Get the error message associated with the request (if any)
|
String |
getStatus()
Get the status of the request
|
protected void |
handleUnknown(String key,
Object value)
Handle unknown properties and print a message
|
boolean |
isError()
Does the request have an error?
|
void |
setErrorMessage(String errorMessage)
Set the error message
|
void |
setStatus(String status)
Set the status of the request
|
String |
toString() |
protected void handleUnknown(String key, Object value)
key
- value
- public String getStatus()
public void setStatus(String status)
status
- public String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- public boolean isError()
Copyright © 2012–2018. All rights reserved.