public class Question extends Object
| Constructor and Description |
|---|
Question() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnswerAssertion()
Gets the answer assertion.
|
String |
getCategory()
Gets the category.
|
String |
getContext()
Gets the context.
|
EvidenceRequest |
getEvidenceRequest()
Gets the evidence request.
|
Filters |
getFilters()
Gets the filters.
|
int |
getItems()
Gets the items.
|
String |
getLat()
Gets the lat.
|
String |
getPassthru()
Gets the passthru.
|
String |
getQuestionText()
Gets the question text.
|
String |
getSynonyms()
Gets the synonyms.
|
boolean |
isFormattedAnswer()
Checks if is formatted answer.
|
void |
setAnswerAssertion(String answerAssertion)
Sets the answer assertion.
|
void |
setCategory(String category)
Sets the category.
|
void |
setContext(String context)
Sets the context.
|
void |
setEvidenceRequest(EvidenceRequest evidenceRequest)
Sets the evidence request.
|
void |
setFilters(Filters filters)
Sets the filters.
|
void |
setFormattedAnswer(boolean formattedAnswer)
Sets the formatted answer.
|
void |
setItems(int items)
Sets the items.
|
void |
setLat(String lat)
Sets the lat.
|
void |
setPassthru(String passthru)
Sets the passthru.
|
void |
setQuestionText(String questionText)
Sets the question text.
|
void |
setSynonyms(String synonyms)
Sets the synonyms.
|
String |
toString() |
Question |
withAnswerAssertion(String answerAssertion)
With answer assertion.
|
Question |
withCategory(String category)
With category.
|
Question |
withContext(String context)
With context.
|
Question |
withEvidenceRequest(EvidenceRequest evidenceRequest)
With evidence request.
|
Question |
withFilters(Filters filters)
With filters.
|
Question |
withFormattedAnswer(boolean formattedAnswer)
With formatted answer.
|
Question |
withItems(int items)
With items.
|
Question |
withLat(String lat)
With lat.
|
Question |
withPassthru(String passthru)
With passthru.
|
Question |
withQuestionText(String questionText)
With question text.
|
Question |
withSynonyms(String synonyms)
With synonyms.
|
public String getAnswerAssertion()
public String getCategory()
public String getContext()
public EvidenceRequest getEvidenceRequest()
public Filters getFilters()
public int getItems()
public String getLat()
public String getPassthru()
public String getQuestionText()
public String getSynonyms()
public boolean isFormattedAnswer()
public void setAnswerAssertion(String answerAssertion)
answerAssertion - The answerAssertionpublic void setCategory(String category)
category - The categorypublic void setContext(String context)
context - The contextpublic void setEvidenceRequest(EvidenceRequest evidenceRequest)
evidenceRequest - The evidenceRequestpublic void setFilters(Filters filters)
filters - The filterspublic void setFormattedAnswer(boolean formattedAnswer)
formattedAnswer - The formattedAnswerpublic void setItems(int items)
items - The itemspublic void setLat(String lat)
lat - The latpublic void setPassthru(String passthru)
passthru - The passthrupublic void setQuestionText(String questionText)
questionText - The questionTextpublic void setSynonyms(String synonyms)
synonyms - The synonymspublic Question withAnswerAssertion(String answerAssertion)
answerAssertion - the answer assertionpublic Question withCategory(String category)
category - the categorypublic Question withContext(String context)
context - the contextpublic Question withEvidenceRequest(EvidenceRequest evidenceRequest)
evidenceRequest - the evidence requestpublic Question withFilters(Filters filters)
filters - the filterspublic Question withFormattedAnswer(boolean formattedAnswer)
formattedAnswer - the formatted answerpublic Question withItems(int items)
items - the itemspublic Question withLat(String lat)
lat - the latpublic Question withPassthru(String passthru)
passthru - the passthrupublic Question withQuestionText(String questionText)
questionText - the question textCopyright © 2015. All rights reserved.