edu.clemson.bb.ws
Class APIResponse

java.lang.Object
  extended byedu.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

Constructor Summary
APIResponse()
           
APIResponse(int errorCode)
           
APIResponse(int errorCode, java.lang.Exception e)
           
APIResponse(int errorCode, java.lang.Object results)
           
 
Method Summary
 int getErrorCode()
           
 java.lang.String getErrorDetails()
           
 java.lang.Object getResults()
           
 void setErrorCode(int errorCode)
           
 void setErrorDetails(java.lang.String errorDetails)
           
 void setResults(java.lang.Object results)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.