org.mitre.midiki.workshop
Class QueryResponse

java.lang.Object
  |
  +--org.mitre.midiki.workshop.QueryResponse

public class QueryResponse
extends java.lang.Object

Wrapper class for the results of a database query.

Since:
1.0

Field Summary
 java.util.List discriminatingHistory
          Possibly empty list of history which could be added to the last query to reduce the number of diagnosed diseases.
 java.util.List discriminatingSymptoms
          Possibly empty list of symptoms which could be added to the last query to reduce the number of diagnosed diseases.
 java.util.List discriminatingTests
          Possibly empty list of tests which could be added to the last query to reduce the number of diagnosed diseases.
 java.util.List possibleDiagnoses
          The list of all diseases which could be diagnosed given the symptoms that were presented.
 
Constructor Summary
QueryResponse()
          Creates an empty QueryResponse instance.
QueryResponse(java.util.List d, java.util.List s, java.util.List t, java.util.List h)
          Creates a new QueryResponse instance.
 
Method Summary
 java.lang.String toString()
          Generates a string representation of the query result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

possibleDiagnoses

public java.util.List possibleDiagnoses
The list of all diseases which could be diagnosed given the symptoms that were presented.

discriminatingSymptoms

public java.util.List discriminatingSymptoms
Possibly empty list of symptoms which could be added to the last query to reduce the number of diagnosed diseases.

discriminatingTests

public java.util.List discriminatingTests
Possibly empty list of tests which could be added to the last query to reduce the number of diagnosed diseases.

discriminatingHistory

public java.util.List discriminatingHistory
Possibly empty list of history which could be added to the last query to reduce the number of diagnosed diseases.
Constructor Detail

QueryResponse

public QueryResponse()
Creates an empty QueryResponse instance.

QueryResponse

public QueryResponse(java.util.List d,
                     java.util.List s,
                     java.util.List t,
                     java.util.List h)
Creates a new QueryResponse instance.
Parameters:
d - a List value
s - a List value
Method Detail

toString

public java.lang.String toString()
Generates a string representation of the query result.
Overrides:
toString in class java.lang.Object
Returns:
a String value