au.edu.archer.service.ddm.dto.request
Class SearchRequest

java.lang.Object
  extended by au.edu.archer.service.ddm.dto.request.SearchRequest

public class SearchRequest
extends java.lang.Object

SearchRequest.


Constructor Summary
SearchRequest()
           
 
Method Summary
 java.lang.String getCrystalName()
          Get sample name.
 java.lang.String getDatafileFormat()
          Get datafile format.
 java.util.Date getDatafileLastModified()
          Get datafile last modified date.
 java.lang.String getDatafileName()
          Get datafile name.
 java.util.List<Parameter> getDatafileParameters()
          Get datafile parameters.
 java.lang.String getDatasetName()
          Get dataset name.
 java.util.List<Parameter> getDatasetParameters()
          get the dataset parameter list.
 java.lang.String getDatasetType()
          Get dataset type.
 java.lang.String getExperimentName()
          Get experiment name.
 java.lang.String getExperimentNumber()
          Get experiment number.
 java.lang.String getExperimentType()
          Get experiment type.
 java.lang.String getExpKeywords()
          Get the exp keywords.
 java.lang.String getInstance()
          Get sample instance.
 java.lang.String getInvestigatorId()
          Get investigator Id.
 java.lang.String getLastModifiedDateStrValue()
          Get last modified date string value.
 java.lang.Integer getNumberPP()
          get numberPP.
 java.lang.String getProjectName()
          Get project name.
 java.lang.String getProjectStatus()
          Get project status.
 java.util.List<Parameter> getSampleParameters()
          Get sample parameters.
 java.lang.Integer getStartPos()
          Get startPos.
 java.lang.String getTopicName()
          Get the topic name.
 java.lang.Integer getTotalCount()
          Get totalCount.
 boolean isDatafileSearchProvided()
          judge whether datafile search criteria has been provided.
 boolean isDatasetSearchProvided()
          judge whether dataset search criteria has been provided.
 boolean isExperimentSearchProvided()
          judge whether experiment search criteria has been provided.
 boolean isProjectSearchProvided()
          judge whether project search criteria has been provided.
 boolean isSampleSearchProvided()
          judge whether sample search criteria has been provided.
 void setCrystalName(java.lang.String crystalName)
          Set sample name.
 void setDatafileFormat(java.lang.String datafileFormat)
          Set datafile format.
 void setDatafileLastModified(java.util.Date dataLastModified)
          Set datafile last modified date.
 void setDatafileName(java.lang.String datafileName)
          Set datafile name.
 void setDatafileParameters(java.util.List<Parameter> dataFileParameters)
          Set datafile parameters.
 void setDatasetName(java.lang.String datasetName)
          Set dataset name.
 void setDatasetParameters(java.util.List<Parameter> datasetParameters)
          set the dataset parameters.
 void setDatasetType(java.lang.String datasetType)
          Set dataset type.
 void setExperimentName(java.lang.String experimentName)
          Set experiment name.
 void setExperimentNumber(java.lang.String experimentNumber)
          Set experiment number.
 void setExperimentType(java.lang.String experimentType)
          Set experiment type.
 void setExpKeywords(java.lang.String expKeywords)
          Set a keywords.
 void setInstance(java.lang.String instance)
          Set sample instance.
 void setInvestigatorId(java.lang.String investigatorId)
          Set investigator id.
 void setLastModifiedDateStrValue(java.lang.String lastModifiedDateStrValue)
          Set the datafile last modified date string value.
 void setNumberPP(java.lang.Integer numberPP)
          Set numberPP.
 void setProjectName(java.lang.String projectName)
          Set project name.
 void setProjectStatus(java.lang.String projectStatus)
          Set project status.
 void setSampleParameters(java.util.List<Parameter> sampleParameters)
          Set sample parameters.
 void setStartPos(java.lang.Integer startPos)
          Set startPos.
 void setTopicName(java.lang.String topicName)
          Set the topic name.
 void setTotalCount(java.lang.Integer totalCount)
          Set totalCount.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchRequest

public SearchRequest()
Method Detail

getCrystalName

public java.lang.String getCrystalName()
Get sample name.

Returns:
String sample name.

setCrystalName

public void setCrystalName(java.lang.String crystalName)
Set sample name.

Parameters:
crystalName - String sample name to be set.

getDatafileFormat

public java.lang.String getDatafileFormat()
Get datafile format.

Returns:
String datafile format.

setDatafileFormat

public void setDatafileFormat(java.lang.String datafileFormat)
Set datafile format.

Parameters:
datafileFormat - String datafile format to be set.

getDatafileName

public java.lang.String getDatafileName()
Get datafile name.

Returns:
String datafile name to be returned.

setDatafileName

public void setDatafileName(java.lang.String datafileName)
Set datafile name.

Parameters:
datafileName - String datafile name to be set.

getDatafileParameters

public java.util.List<Parameter> getDatafileParameters()
Get datafile parameters.

Returns:
List<Parameter> datafile parameters to be returned.

setDatafileParameters

public void setDatafileParameters(java.util.List<Parameter> dataFileParameters)
Set datafile parameters.

Parameters:
dataFileParameters - List<Parameter> datafile parameters to be set.

getDatafileLastModified

public java.util.Date getDatafileLastModified()
Get datafile last modified date.

Returns:
Date Set datafile last modified date

setDatafileLastModified

public void setDatafileLastModified(java.util.Date dataLastModified)
Set datafile last modified date.

Parameters:
dataLastModified - Date datafile last modified date.

getDatasetName

public java.lang.String getDatasetName()
Get dataset name.

Returns:
String dataset name.

setDatasetName

public void setDatasetName(java.lang.String datasetName)
Set dataset name.

Parameters:
datasetName - String dataset name to be set.

getDatasetType

public java.lang.String getDatasetType()
Get dataset type.

Returns:
String dataset type to be set.

setDatasetType

public void setDatasetType(java.lang.String datasetType)
Set dataset type.

Parameters:
datasetType - String dataset type to be set.

getExperimentName

public java.lang.String getExperimentName()
Get experiment name.

Returns:
String experiment name to be returned.

setExperimentName

public void setExperimentName(java.lang.String experimentName)
Set experiment name.

Parameters:
experimentName - String experiment name to be set.

getExperimentNumber

public java.lang.String getExperimentNumber()
Get experiment number.

Returns:
String experiment number to be returned.

setExperimentNumber

public void setExperimentNumber(java.lang.String experimentNumber)
Set experiment number.

Parameters:
experimentNumber - String experiment number to be set.

getExperimentType

public java.lang.String getExperimentType()
Get experiment type.

Returns:
String experiment type to be returned.

setExperimentType

public void setExperimentType(java.lang.String experimentType)
Set experiment type.

Parameters:
experimentType - String experiment type to be set.

getInstance

public java.lang.String getInstance()
Get sample instance.

Returns:
String sample instance to be returned.

setInstance

public void setInstance(java.lang.String instance)
Set sample instance.

Parameters:
instance - String sample instance to be set.

getInvestigatorId

public java.lang.String getInvestigatorId()
Get investigator Id.

Returns:
String investigator id to be returned.

setInvestigatorId

public void setInvestigatorId(java.lang.String investigatorId)
Set investigator id.

Parameters:
investigatorId - String investigator id to be set.

getProjectName

public java.lang.String getProjectName()
Get project name.

Returns:
String project name to be returned.

setProjectName

public void setProjectName(java.lang.String projectName)
Set project name.

Parameters:
projectName - String project name to be set.

getProjectStatus

public java.lang.String getProjectStatus()
Get project status.

Returns:
String project status to be returned.

setProjectStatus

public void setProjectStatus(java.lang.String projectStatus)
Set project status.

Parameters:
projectStatus - String project status to be set.

getSampleParameters

public java.util.List<Parameter> getSampleParameters()
Get sample parameters.

Returns:
List<Parameter> sample parameters to be returned.

setSampleParameters

public void setSampleParameters(java.util.List<Parameter> sampleParameters)
Set sample parameters.

Parameters:
sampleParameters - List<Parameter> sample parameters to be set.

isProjectSearchProvided

public boolean isProjectSearchProvided()
judge whether project search criteria has been provided.

Returns:
boolean true if either of projectName, projectStatus is not empty, other return false;

isSampleSearchProvided

public boolean isSampleSearchProvided()
judge whether sample search criteria has been provided.

Returns:
boolean true if either of crystanName, instance is not empty, true if sampleParameters contains valid criteria, true if isExperimentSearchProvided() return true; false otherwise.

isExperimentSearchProvided

public boolean isExperimentSearchProvided()
judge whether experiment search criteria has been provided.

Returns:
boolean true if either of experimentName, experimentType, investigatorId, experimentNumber is provided true if isProjectSearchProvided is true false otherwise.

isDatasetSearchProvided

public boolean isDatasetSearchProvided()
judge whether dataset search criteria has been provided.

Returns:
boolean true false.

isDatafileSearchProvided

public boolean isDatafileSearchProvided()
judge whether datafile search criteria has been provided.

Returns:
boolean true false.

getDatasetParameters

public java.util.List<Parameter> getDatasetParameters()
get the dataset parameter list.

Returns:
List<Parametergt; list of Parameter for dataset to be returned.

setDatasetParameters

public void setDatasetParameters(java.util.List<Parameter> datasetParameters)
set the dataset parameters.

Parameters:
datasetParameters - List<Parameter> list of Parameter for dataset to be set.

getNumberPP

public java.lang.Integer getNumberPP()
get numberPP.

Returns:
Integer numberPP to be returned.

setNumberPP

public void setNumberPP(java.lang.Integer numberPP)
Set numberPP.

Parameters:
numberPP - Integer numberPP to be set.

getStartPos

public java.lang.Integer getStartPos()
Get startPos.

Returns:
Integer startPos to be returned.

setStartPos

public void setStartPos(java.lang.Integer startPos)
Set startPos.

Parameters:
startPos - Integer startPos to be set.

getTotalCount

public java.lang.Integer getTotalCount()
Get totalCount.

Returns:
Integer totalCount to be returned.

setTotalCount

public void setTotalCount(java.lang.Integer totalCount)
Set totalCount.

Parameters:
totalCount - Integer totalCount to be set.

getExpKeywords

public java.lang.String getExpKeywords()
Get the exp keywords.

Returns:
A String keywords.

setExpKeywords

public void setExpKeywords(java.lang.String expKeywords)
Set a keywords.

Parameters:
expKeywords - A keywords String to be set.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getTopicName

public java.lang.String getTopicName()
Get the topic name.

Returns:
A topic name.

setTopicName

public void setTopicName(java.lang.String topicName)
Set the topic name.

Parameters:
topicName - A topic name to be set.

getLastModifiedDateStrValue

public java.lang.String getLastModifiedDateStrValue()
Get last modified date string value.

Returns:
A last modified date string value.

setLastModifiedDateStrValue

public void setLastModifiedDateStrValue(java.lang.String lastModifiedDateStrValue)
Set the datafile last modified date string value.

Parameters:
lastModifiedDateStrValue - A last modified date string value to be set.


Copyright © 2008-09 Monash University. All Rights Reserved.