gov.nih.nci.system.dao
Class Response

java.lang.Object
  extended by gov.nih.nci.system.dao.Response
All Implemented Interfaces:
java.io.Serializable

public class Response
extends java.lang.Object
implements java.io.Serializable

Provides components to hold the resultset of a query request

Author:
Satish Patel
See Also:
Serialized Form

Field Summary
 java.lang.Object response
           
 
Constructor Summary
Response()
          Create a Response instance
Response(java.lang.Object response)
          Creates a Response instance for a specified object
Response(Response response)
          Creates a Response instance for a specified response object
 
Method Summary
 java.lang.Object getResponse()
          Returns a response object
 java.lang.Integer getRowCount()
          Return recordsCount
 void setResponse(java.lang.Object response)
          Sets the value for this response object
 void setRowCount(java.lang.Integer rc)
          Set recordsCount value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

response

public java.lang.Object response
Constructor Detail

Response

public Response()
Create a Response instance


Response

public Response(Response response)
Creates a Response instance for a specified response object

Parameters:
response -

Response

public Response(java.lang.Object response)
Creates a Response instance for a specified object

Parameters:
response - Specifies the object
Method Detail

setResponse

public void setResponse(java.lang.Object response)
Sets the value for this response object

Parameters:
response - Specifies the object

getResponse

public java.lang.Object getResponse()
Returns a response object

Returns:
Returns a response object

setRowCount

public void setRowCount(java.lang.Integer rc)
Set recordsCount value

Parameters:
rc -

getRowCount

public java.lang.Integer getRowCount()
Return recordsCount

Returns:
recordsCount