|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents queries that are asked to inference web applications. These queries are then answered using inference engines and the proof from these answers is represented using nodesets.
| Method Summary | |
void |
addAnswer(IWNodeSet newAnswer)
Adds the specified Nodeset to the list of answer nodesets ( @param newAnswer a nodeset corresponding to a new answer of the query |
java.util.List |
getAnswers()
Returns a list of Nodesets of the answers for the query |
IWInferenceEngine |
getInferenceEngine()
Returns the inference engine which answered the query |
IWLanguage |
getLanguage()
Returns the language in which the query is expressed |
java.lang.String |
getQueryContent()
Returns the content of the query i.e. |
IWQuestion |
getQuestion()
Returns an IWQuestion insance corresponding to the question asked in the query |
void |
setAnswers(java.util.List _newAnswers)
Sets the list of Nodesets of the answers for the query |
void |
setInferenceEngine(IWInferenceEngine newEngine)
Sets the inference engine to the specified engine |
void |
setLanguage(IWLanguage newLanguage)
Sets the language in which the query is expressed |
void |
setQueryContent(java.lang.String newContent)
Sets the content of the query i.e. |
void |
setQuestion(IWQuestion newQuestion)
Sets the question of a query to the specified IWQuestion insance |
| Methods inherited from interface iw.model.IWProofElement |
getShortName, setShortName |
| Methods inherited from interface iw.model.IWModelElement |
getFirstSubmissionDate, getLastSubmissionDate, getModel, getURI, setFirstSubmissionDate, setLastSubmissionDate, setModel, setURI |
| Method Detail |
public java.lang.String getQueryContent()
public void setQueryContent(java.lang.String newContent)
newContent - the new content of the query i.e. the text of the querypublic IWQuestion getQuestion()
public void setQuestion(IWQuestion newQuestion)
newQuestion - an IWQuestion instance corresponding to the new question of the querypublic IWLanguage getLanguage()
public void setLanguage(IWLanguage newLanguage)
newLanguage - the new language in which the query is expressedpublic IWInferenceEngine getInferenceEngine()
public void setInferenceEngine(IWInferenceEngine newEngine)
public java.util.List getAnswers()
public void setAnswers(java.util.List _newAnswers)
_newAnswers - the new list of Nodesets of the answers for the querypublic void addAnswer(IWNodeSet newAnswer)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||