Class V3PdqQueryResponse
java.lang.Object
org.projecthusky.communication.mpi.impl.pdq.V3PdqQueryResponse
- All Implemented Interfaces:
MpiQueryResponse
The Class V3PdqQueryResponse implements the MpiQueryResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the current numbers of returned patients in the query.Gets the patients from the query.intGets the remaining numbers of patients in the query.booleanQuery stateintGets the total numbers of patients from the query.voidsetCurrentNumbers(int currentNumbers) Sets the current numbers of patient returned in this query step.voidsetErrorCode(String errorCode) voidsetErrorText(String errorText) voidsetInfoCodes(List<String> infoCodes) voidsetInfoTexts(List<String> infoTexts) voidsetPatients(List<FhirPatient> patients) Sets the patients from the query.voidsetRemainingNumbers(int remainingNumbers) Sets the remaining numbers of patients for this query.voidsetSuccess(boolean success) Sets the success return value of the query.voidsetTotalNumbers(int totalNumbers) Sets the total numbers of patients for this query.
-
Field Details
-
errorCode
-
errorText
-
infoCodes
-
infoTexts
-
-
Constructor Details
-
V3PdqQueryResponse
public V3PdqQueryResponse()
-
-
Method Details
-
getCurrentNumbers
public int getCurrentNumbers()Gets the current numbers of returned patients in the query.- Specified by:
getCurrentNumbersin interfaceMpiQueryResponse- Returns:
- the current numbers
-
getPatients
Gets the patients from the query.- Specified by:
getPatientsin interfaceMpiQueryResponse- Returns:
- the patients
-
getRemainingNumbers
public int getRemainingNumbers()Gets the remaining numbers of patients in the query.- Specified by:
getRemainingNumbersin interfaceMpiQueryResponse- Returns:
- the remaining numbers
-
getSuccess
public boolean getSuccess()Query state- Specified by:
getSuccessin interfaceMpiQueryResponse- Returns:
- true if successful
-
getTotalNumbers
public int getTotalNumbers()Gets the total numbers of patients from the query.- Specified by:
getTotalNumbersin interfaceMpiQueryResponse- 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
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
-
getErrorText
-
getInfoCodes
-
getInfoTexts
-
setErrorCode
-
setErrorText
-
setInfoCodes
-
setInfoTexts
-