Class V3PdqQueryResponse

java.lang.Object
org.projecthusky.communication.mpi.impl.pdq.V3PdqQueryResponse
All Implemented Interfaces:
MpiQueryResponse

public class V3PdqQueryResponse extends Object implements MpiQueryResponse
The Class V3PdqQueryResponse implements the MpiQueryResponse
  • Field Details

    • errorCode

      protected String errorCode
    • errorText

      protected String errorText
    • infoCodes

      protected List<String> infoCodes
    • infoTexts

      protected List<String> infoTexts
  • Constructor Details

    • V3PdqQueryResponse

      public V3PdqQueryResponse()
  • Method Details

    • getCurrentNumbers

      public int getCurrentNumbers()
      Gets the current numbers of returned patients in the query.
      Specified by:
      getCurrentNumbers in interface MpiQueryResponse
      Returns:
      the current numbers
    • getPatients

      public List<FhirPatient> getPatients()
      Gets the patients from the query.
      Specified by:
      getPatients in interface MpiQueryResponse
      Returns:
      the patients
    • getRemainingNumbers

      public int getRemainingNumbers()
      Gets the remaining numbers of patients in the query.
      Specified by:
      getRemainingNumbers in interface MpiQueryResponse
      Returns:
      the remaining numbers
    • getSuccess

      public boolean getSuccess()
      Query state
      Specified by:
      getSuccess in interface MpiQueryResponse
      Returns:
      true if successful
    • getTotalNumbers

      public int getTotalNumbers()
      Gets the total numbers of patients from the query.
      Specified by:
      getTotalNumbers in interface MpiQueryResponse
      Returns:
      the total numbers
    • setCurrentNumbers

      public void setCurrentNumbers(int currentNumbers)
      Sets the current numbers of patient returned in this query step.
      Parameters:
      currentNumbers - the new current numbers
    • setPatients

      public void setPatients(List<FhirPatient> patients)
      Sets the patients from the query.
      Parameters:
      patients - the new patients
    • setRemainingNumbers

      public void setRemainingNumbers(int remainingNumbers)
      Sets the remaining numbers of patients for this query.
      Parameters:
      remainingNumbers - the new remaining numbers
    • setSuccess

      public void setSuccess(boolean success)
      Sets the success return value of the query.
      Parameters:
      success - the new success
    • setTotalNumbers

      public void setTotalNumbers(int totalNumbers)
      Sets the total numbers of patients for this query.
      Parameters:
      totalNumbers - the new total numbers
    • getErrorCode

      public String getErrorCode()
    • getErrorText

      public String getErrorText()
    • getInfoCodes

      public List<String> getInfoCodes()
    • getInfoTexts

      public List<String> getInfoTexts()
    • setErrorCode

      public void setErrorCode(String errorCode)
    • setErrorText

      public void setErrorText(String errorText)
    • setInfoCodes

      public void setInfoCodes(List<String> infoCodes)
    • setInfoTexts

      public void setInfoTexts(List<String> infoTexts)