edu.jhu.tmaj.servlet.response.impl
Class DiagnosisLookupResponse

java.lang.Object
  extended by edu.jhu.tmaj.servlet.response.SuccessResponse
      extended by edu.jhu.tmaj.servlet.response.impl.DiagnosisLookupResponse
All Implemented Interfaces:
CommandResponse, java.io.Serializable

public final class DiagnosisLookupResponse
extends SuccessResponse
implements java.io.Serializable

Contains the FieldID and EnumID of the looked-up diagnosis the ArrayImages table. Detailed failure information (as opposed to error-messages in BaseResponse) if the Diagnosis could not be looked-up. Failure messages are normal, as very often an automatic diagnosis can not be assigned.

See Also:
Serialized Form

Constructor Summary
DiagnosisLookupResponse()
           
 
Method Summary
 boolean failed()
           
 int getArrayImageEnumID()
           
 int getArrayImageFieldID()
           
 java.lang.String getFailureMessage()
           
 void setArrayImageEnumID(int id)
           
 void setArrayImageFieldID(int id)
           
 void setFailureMessage(java.lang.String message)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.jhu.tmaj.servlet.response.SuccessResponse
getError, isSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiagnosisLookupResponse

public DiagnosisLookupResponse()
Method Detail

failed

public boolean failed()

getArrayImageFieldID

public int getArrayImageFieldID()

getArrayImageEnumID

public int getArrayImageEnumID()

setArrayImageFieldID

public void setArrayImageFieldID(int id)

setArrayImageEnumID

public void setArrayImageEnumID(int id)

setFailureMessage

public void setFailureMessage(java.lang.String message)

getFailureMessage

public java.lang.String getFailureMessage()

toString

public java.lang.String toString()
Overrides:
toString in class SuccessResponse