gov.ornl.csed.csiir.idr.kdd.dataservice.server.models
Class DataSetSamplesRequest

java.lang.Object
  extended by gov.ornl.csed.csiir.idr.kdd.dataservice.server.models.DataSetSamplesRequest

public final class DataSetSamplesRequest
extends java.lang.Object

The DataSetSamplesRequest represents a request for some sample records from a data set.


Constructor Summary
DataSetSamplesRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 long getMaxRecords()
          Retrieve the maximum number of records to return.
 java.lang.String getQueryId()
          Retrieves the unique query ID associated with this request.
 int hashCode()
           
 void setMaxRecords(long maxRecords)
          Set the maximum number of records to retrieve.
 void setQueryId(java.lang.String queryId)
          Set the unique query ID associated with this request.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSetSamplesRequest

public DataSetSamplesRequest()
Method Detail

getQueryId

public java.lang.String getQueryId()
Retrieves the unique query ID associated with this request.

Returns:
the unique ID

setQueryId

public void setQueryId(java.lang.String queryId)
Set the unique query ID associated with this request. Used for serialization.

Parameters:
queryId - the unique query ID

getMaxRecords

public long getMaxRecords()
Retrieve the maximum number of records to return.

Returns:
the maximum number of records to return

setMaxRecords

public void setMaxRecords(long maxRecords)
Set the maximum number of records to retrieve.

Parameters:
maxRecords - the maximum number of records to retrieve

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object