gov.nih.nci.system.dao
Class Request

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

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

Provides various methods to submit a query request to a specified datasource

Author:
Satish Patel
See Also:
Serialized Form

Constructor Summary
Request()
          Creates a Request instance
Request(java.lang.Object request)
          Creates a Request instance for a given object
 
Method Summary
 ClassCache getClassCache()
           
 java.util.Hashtable getConfig()
          Returns the configuration values for this request
 java.lang.String getDomainObjectName()
          Returns the domain object name of this request
 java.lang.Integer getFirstRow()
          Return the firstRow value
 java.lang.Boolean getIsCount()
          Return isCount value
 java.lang.Object getRequest()
          Returns a value for this request object
 void setClassCache(ClassCache classCache)
           
 void setConfig(java.util.Hashtable config)
          Sets the configuration value
 void setDomainObjectName(java.lang.String domainObjectName)
          Sets the name for this domain object
 void setFirstRow(java.lang.Integer firstRow)
          Set firstRow value
 void setIsCount(java.lang.Boolean b)
          Set isCount value
 void setRequest(java.lang.Object request)
          Sets the value for this request object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Request

public Request()
Creates a Request instance


Request

public Request(java.lang.Object request)
Creates a Request instance for a given object

Parameters:
request -
Method Detail

setRequest

public void setRequest(java.lang.Object request)
Sets the value for this request object

Parameters:
request - Specifies the request object

getRequest

public java.lang.Object getRequest()
Returns a value for this request object

Returns:
returns a request object

setDomainObjectName

public void setDomainObjectName(java.lang.String domainObjectName)
Sets the name for this domain object

Parameters:
domainObjectName - Specifies the domain object name

getDomainObjectName

public java.lang.String getDomainObjectName()
Returns the domain object name of this request

Returns:
returns the name of this domain object

setConfig

public void setConfig(java.util.Hashtable config)
Sets the configuration value

Parameters:
config - Specifies the configuration values

getConfig

public java.util.Hashtable getConfig()
Returns the configuration values for this request

Returns:
Returns the configuration values

setFirstRow

public void setFirstRow(java.lang.Integer firstRow)
Set firstRow value

Parameters:
firstRow -

getFirstRow

public java.lang.Integer getFirstRow()
Return the firstRow value

Returns:
firstRow

getIsCount

public java.lang.Boolean getIsCount()
Return isCount value

Returns:
isCount

setIsCount

public void setIsCount(java.lang.Boolean b)
Set isCount value

Parameters:
b -

getClassCache

public ClassCache getClassCache()

setClassCache

public void setClassCache(ClassCache classCache)