public class ResourceOperationResponse<T>
extends java.lang.Object
Constructor and Description |
---|
ResourceOperationResponse() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCause() |
java.lang.String |
getErrorMessage() |
int |
getOperationStatus() |
java.lang.String |
getResponse() |
boolean |
isXml() |
void |
setCause(java.lang.String cause) |
void |
setErrorMessage(java.lang.String errorMessage) |
void |
setOperationStatus(int operationStatus) |
void |
setResponse(java.lang.String response) |
void |
setXml(boolean isXml) |
java.lang.String |
toXml() |
public int getOperationStatus()
public void setOperationStatus(int operationStatus)
operationStatus
- the operationStatus to setpublic java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- the errorMessage to setpublic java.lang.String getCause()
public void setCause(java.lang.String cause)
cause
- the cause to setpublic java.lang.String getResponse()
public void setResponse(java.lang.String response)
response
- the response to setpublic boolean isXml()
public void setXml(boolean isXml)
isXml
- the isXml to setpublic java.lang.String toXml() throws java.lang.Exception
java.lang.Exception