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 TypeMethodDescriptionint
Gets the current numbers of returned patients in the query.Gets the patients from the query.int
Gets the remaining numbers of patients in the query.boolean
Query stateint
Gets the total numbers of patients from the query.void
setCurrentNumbers
(int currentNumbers) Sets the current numbers of patient returned in this query step.void
setErrorCode
(String errorCode) void
setErrorText
(String errorText) void
setInfoCodes
(List<String> infoCodes) void
setInfoTexts
(List<String> infoTexts) void
setPatients
(List<FhirPatient> patients) Sets the patients from the query.void
setRemainingNumbers
(int remainingNumbers) Sets the remaining numbers of patients for this query.void
setSuccess
(boolean success) Sets the success return value of the query.void
setTotalNumbers
(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:
getCurrentNumbers
in interfaceMpiQueryResponse
- Returns:
- the current numbers
-
getPatients
Gets the patients from the query.- Specified by:
getPatients
in interfaceMpiQueryResponse
- Returns:
- the patients
-
getRemainingNumbers
public int getRemainingNumbers()Gets the remaining numbers of patients in the query.- Specified by:
getRemainingNumbers
in interfaceMpiQueryResponse
- Returns:
- the remaining numbers
-
getSuccess
public boolean getSuccess()Query state- Specified by:
getSuccess
in interfaceMpiQueryResponse
- Returns:
- true if successful
-
getTotalNumbers
public int getTotalNumbers()Gets the total numbers of patients from the query.- Specified by:
getTotalNumbers
in 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
-