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

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

public class CheckIfSpecimenExistsResponse
extends SuccessResponse
implements java.io.Serializable

Contains booleans representing if a Specimen and TissueDiagonsis exist in the database.

See Also:
Serialized Form

Constructor Summary
CheckIfSpecimenExistsResponse(boolean specimenExists, boolean tissueDiagnosisExists)
           
 
Method Summary
 boolean isSpecimenInDatabase()
           
 boolean isTissueDiagnosisInDatabase()
           
 
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

CheckIfSpecimenExistsResponse

public CheckIfSpecimenExistsResponse(boolean specimenExists,
                                     boolean tissueDiagnosisExists)
Method Detail

isSpecimenInDatabase

public boolean isSpecimenInDatabase()

isTissueDiagnosisInDatabase

public boolean isTissueDiagnosisInDatabase()