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

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

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

Contains information on how many specimens/patients were inserted or updated.

See Also:
Serialized Form

Constructor Summary
TranslatedRowResponse(WriteType patientsWriteType, WriteType specimensWriteType)
           
 
Method Summary
 boolean isPatientInserted()
           
 boolean isPatientUpdated()
           
 boolean isSpecimenInserted()
           
 boolean isSpecimenUpdated()
           
 
Methods inherited from class edu.jhu.tmaj.servlet.response.SuccessResponse
getError, isSuccessful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TranslatedRowResponse

public TranslatedRowResponse(WriteType patientsWriteType,
                             WriteType specimensWriteType)
Method Detail

isPatientInserted

public boolean isPatientInserted()

isPatientUpdated

public boolean isPatientUpdated()

isSpecimenInserted

public boolean isSpecimenInserted()

isSpecimenUpdated

public boolean isSpecimenUpdated()