edu.clemson.bb.ws
Class APIResponse
java.lang.Object
edu.clemson.bb.ws.APIResponse
- All Implemented Interfaces:
- java.io.Serializable
- public class APIResponse
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Billy Cook
To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APIResponse
public APIResponse()
APIResponse
public APIResponse(int errorCode,
java.lang.Object results)
APIResponse
public APIResponse(int errorCode)
APIResponse
public APIResponse(int errorCode,
java.lang.Exception e)
setErrorCode
public void setErrorCode(int errorCode)
- Parameters:
errorCode - The errorCode to set.
setResults
public void setResults(java.lang.Object results)
- Parameters:
results - The results to set.
getErrorCode
public int getErrorCode()
- Returns:
- Returns the errorCode.
getResults
public java.lang.Object getResults()
- Returns:
- Returns the results.
getErrorDetails
public java.lang.String getErrorDetails()
- Returns:
- Returns the errorDetails.
setErrorDetails
public void setErrorDetails(java.lang.String errorDetails)
- Parameters:
errorDetails - The errorDetails to set.