public class Question extends Object implements IQuestion
| Modifier and Type | Field and Description |
|---|---|
private Boolean |
aggregation |
private String |
answerType |
private Map<String,Set<String>> |
goldenAnswers |
private Boolean |
hybrid |
private String |
id |
private Map<String,List<String>> |
languageToKeywords |
private Map<String,String> |
languageToQuestion |
private Boolean |
onlydbo |
private Boolean |
outOfScope |
private String |
pseudoSparqlQuery |
private Map<String,String> |
sparqlQuery |
| Constructor and Description |
|---|
Question() |
private String id
private String answerType
private String pseudoSparqlQuery
private Boolean aggregation
private Boolean onlydbo
private Boolean outOfScope
private Boolean hybrid
public String toString()
public String getAnswerType()
getAnswerType in interface IQuestionpublic void setAnswerType(String answerType)
setAnswerType in interface IQuestionpublic String getPseudoSparqlQuery()
getPseudoSparqlQuery in interface IQuestionpublic void setPseudoSparqlQuery(String pseudoSparqlQuery)
setPseudoSparqlQuery in interface IQuestionpublic String getSparqlQuery()
getSparqlQuery in interface IQuestionpublic void setSparqlQuery(String sparqlQuery)
setSparqlQuery in interface IQuestionpublic Boolean getAggregation()
getAggregation in interface IQuestionpublic void setAggregation(Boolean aggregation)
setAggregation in interface IQuestionpublic Boolean getOnlydbo()
getOnlydbo in interface IQuestionpublic void setOnlydbo(Boolean onlydbo)
setOnlydbo in interface IQuestionpublic Boolean getOutOfScope()
getOutOfScope in interface IQuestionpublic void setOutOfScope(Boolean outOfScope)
setOutOfScope in interface IQuestionpublic Map<String,String> getLanguageToQuestion()
getLanguageToQuestion in interface IQuestionpublic void setLanguageToQuestion(Map<String,String> languageToQuestion)
setLanguageToQuestion in interface IQuestionpublic Map<String,List<String>> getLanguageToKeywords()
getLanguageToKeywords in interface IQuestionpublic void setLanguageToKeywords(Map<String,List<String>> languageToKeywords)
setLanguageToKeywords in interface IQuestionpublic Set<String> getGoldenAnswers()
getGoldenAnswers in interface IQuestionpublic void setGoldenAnswers(Set<String> goldenAnswers)
setGoldenAnswers in interface IQuestionCopyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.