|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.serviceclients.cat.CATRequestConstraints
public class CATRequestConstraints
Data Structure to manage information passed to the CATRest Service to constrain it's search.
Field Summary | |
---|---|
static Integer |
ANY_GRADE
|
Constructor Summary | |
---|---|
CATRequestConstraints()
Constructor for the CATRequestConstraints object |
Method Summary | |
---|---|
void |
addStandardDocument(String docId)
Adds an item to the standardDocuments attribute of the CATRequestConstraints object |
Map |
asMap()
Return Constraints as a map, keyed by parameter name |
String |
getAuthor()
Gets the author attribute of the CATRequestConstraints object |
int |
getEndGrade()
Gets the endGrade attribute of the CATRequestConstraints object |
List |
getFeedbackStandards()
Gets the feedbackStandards attribute of the CATRequestConstraints object |
String |
getId()
Gets the id attribute of the CATRequestConstraints object |
String |
getIdentifier()
Gets the identifier attribute of the CATRequestConstraints object |
String |
getKeywords()
Gets the keywords attribute of the CATRequestConstraints object |
int |
getMaxResults()
Gets the maxResults attribute of the CATRequestConstraints object |
String |
getQuery()
Gets the query attribute of the CATRequestConstraints object |
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 |
String |
getTopic()
Gets the topic attribute of the CATRequestConstraints object |
void |
setAuthor(String author)
Sets the author attribute of the CATRequestConstraints object |
void |
setEndGrade(int endGrade)
Sets the endGrade attribute of the CATRequestConstraints object |
void |
setFeedbackStandards(List stds)
Sets the feedbackStandards attribute of the CATRequestConstraints object |
void |
setFeedbackStandards(String s)
Sets the feedbackStandards attribute of the CATRequestConstraints object |
void |
setId(String id)
Sets the id attribute of the CATRequestConstraints object |
void |
setIdentifier(String id)
Sets the identifier attribute of the CATRequestConstraints object |
void |
setKeywords(String keywords)
Sets the keywords attribute of the CATRequestConstraints object |
void |
setMaxResults(int max)
Sets the maxResults attribute of the CATRequestConstraints object |
void |
setQuery(String q)
Sets the query attribute of the CATRequestConstraints object |
void |
setStartGrade(int startGrade)
Sets the startGrade attribute of the CATRequestConstraints object |
void |
setTopic(String topic)
Sets the topic attribute of the CATRequestConstraints object |
String |
toQueryString()
Generate a queryString to be passed with CAT service request |
String |
toString()
Return string representation of constraints map, used for debugging |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Integer ANY_GRADE
Constructor Detail |
---|
public CATRequestConstraints()
Method Detail |
---|
public String getQuery()
public void setId(String id)
id
- The new id valuepublic String getId()
public void setAuthor(String author)
author
- The new author valuepublic String getAuthor()
public void setTopic(String topic)
topic
- The new topic valuepublic String getTopic()
public String getStandardDocuments()
public void addStandardDocument(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(String keywords)
keywords
- The new keywords valuepublic String getKeywords()
public void setQuery(String q)
q
- The new query value (used to specifiy resourceUrl)public int getMaxResults()
public void setMaxResults(int max)
max
- The new maxResults valuepublic String getIdentifier()
public void setIdentifier(String id)
id
- The new identifier valuepublic void setFeedbackStandards(List stds)
stds
- The new feedbackStandards valuepublic void setFeedbackStandards(String s)
s
- The new feedbackStandards valuepublic List getFeedbackStandards()
public Map asMap()
public String toQueryString()
public String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |