public class CATRequestConstraints
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
ANY_GRADE |
Constructor and Description |
---|
CATRequestConstraints()
Constructor for the CATRequestConstraints object
|
Modifier and Type | Method and Description |
---|---|
void |
addStandardDocument(java.lang.String docId)
Adds an item to the standardDocuments attribute of the CATRequestConstraints
object
|
java.util.Map |
asMap()
Return Constraints as a map, keyed by parameter name
|
java.lang.String |
getAuthor()
Gets the author attribute of the CATRequestConstraints object
|
int |
getEndGrade()
Gets the endGrade attribute of the CATRequestConstraints object
|
java.util.List |
getFeedbackStandards()
Gets the feedbackStandards attribute of the CATRequestConstraints object
|
java.lang.String |
getId()
Gets the id attribute of the CATRequestConstraints object
|
java.lang.String |
getIdentifier()
Gets the identifier attribute of the CATRequestConstraints object
|
java.lang.String |
getKeywords()
Gets the keywords attribute of the CATRequestConstraints object
|
int |
getMaxResults()
Gets the maxResults attribute of the CATRequestConstraints object
|
java.lang.String |
getQuery()
Gets the query attribute of the CATRequestConstraints object
|
java.lang.String |
getStandardDocuments()
Gets the standardDocuments attribute of the CATRequestConstraints object by creating
a comma-delimited string joining the items in the standardDocuments list
|
int |
getStartGrade()
Gets the startGrade attribute of the CATRequestConstraints object
|
java.lang.String |
getTopic()
Gets the topic attribute of the CATRequestConstraints object
|
void |
setAuthor(java.lang.String author)
Sets the author attribute of the CATRequestConstraints object
|
void |
setEndGrade(int endGrade)
Sets the endGrade attribute of the CATRequestConstraints object
|
void |
setFeedbackStandards(java.util.List stds)
Sets the feedbackStandards attribute of the CATRequestConstraints object
|
void |
setFeedbackStandards(java.lang.String s)
Sets the feedbackStandards attribute of the CATRequestConstraints object
|
void |
setId(java.lang.String id)
Sets the id attribute of the CATRequestConstraints object
|
void |
setIdentifier(java.lang.String id)
Sets the identifier attribute of the CATRequestConstraints object
|
void |
setKeywords(java.lang.String keywords)
Sets the keywords attribute of the CATRequestConstraints object
|
void |
setMaxResults(int max)
Sets the maxResults attribute of the CATRequestConstraints object
|
void |
setQuery(java.lang.String q)
Sets the query attribute of the CATRequestConstraints object
|
void |
setStartGrade(int startGrade)
Sets the startGrade attribute of the CATRequestConstraints object
|
void |
setTopic(java.lang.String topic)
Sets the topic attribute of the CATRequestConstraints object
|
java.lang.String |
toQueryString()
Generate a queryString to be passed with CAT service request
|
java.lang.String |
toString()
Return string representation of constraints map, used for debugging
|
public CATRequestConstraints()
public java.lang.String getQuery()
public void setId(java.lang.String id)
id
- The new id valuepublic java.lang.String getId()
public void setAuthor(java.lang.String author)
author
- The new author valuepublic java.lang.String getAuthor()
public void setTopic(java.lang.String topic)
topic
- The new topic valuepublic java.lang.String getTopic()
public java.lang.String getStandardDocuments()
public void addStandardDocument(java.lang.String docId)
docId
- asn docId to be added to standardDocumentspublic void setStartGrade(int startGrade)
startGrade
- The new startGrade valuepublic int getStartGrade()
public void setEndGrade(int endGrade)
endGrade
- The new endGrade valuepublic int getEndGrade()
public void setKeywords(java.lang.String keywords)
keywords
- The new keywords valuepublic java.lang.String getKeywords()
public void setQuery(java.lang.String q)
q
- The new query value (used to specifiy resourceUrl)public int getMaxResults()
public void setMaxResults(int max)
max
- The new maxResults valuepublic java.lang.String getIdentifier()
public void setIdentifier(java.lang.String id)
id
- The new identifier valuepublic void setFeedbackStandards(java.util.List stds)
stds
- The new feedbackStandards valuepublic void setFeedbackStandards(java.lang.String s)
s
- The new feedbackStandards valuepublic java.util.List getFeedbackStandards()
public java.util.Map asMap()
public java.lang.String toQueryString()
public java.lang.String toString()
toString
in class java.lang.Object