Package ca.cdr.api.fhirgw.model
Class SearchSingleTargetResponse
java.lang.Object
ca.cdr.api.fhirgw.model.BaseResponse<SearchSingleTargetResponse>
ca.cdr.api.fhirgw.model.SearchSingleTargetResponse
This class represents the response to a FHIR Gateway Search request executed
against a single target
-
Constructor Summary
ConstructorDescriptionConstructor - Create an empty objectSearchSingleTargetResponse
(SearchSingleTargetResponse theSearchResponse) Copy constructor - Creates a shallow copy onlySearchSingleTargetResponse
(IBaseBundle theResult) SearchSingleTargetResponse
(IBaseBundle theResult, boolean isWrongTarget) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a clone of this object using a shallow copy only.boolean
isEmpty
(FhirContext theFhirContext) boolean
void
setSearchResults
(IBaseBundle theSearchResults) Methods inherited from class ca.cdr.api.fhirgw.model.BaseResponse
isCacheHit, isDeclinedToHandle, setCacheHit, setDeclinedToHandle
-
Constructor Details
-
SearchSingleTargetResponse
public SearchSingleTargetResponse()Constructor - Create an empty object -
SearchSingleTargetResponse
Copy constructor - Creates a shallow copy only -
SearchSingleTargetResponse
-
SearchSingleTargetResponse
-
-
Method Details
-
getSearchResults
-
isEmpty
-
setSearchResults
-
clone
Create a clone of this object using a shallow copy only. Values are copied by reference only, so things like Resources should only be modified if you are sure that the changes won't affect the value stored in cache.- Specified by:
clone
in classBaseResponse<SearchSingleTargetResponse>
-
isWrongTarget
-