Package ca.cdr.api.fhirgw.model
Class CreateResponse
- Direct Known Subclasses:
UpdateResponse
-
Constructor Summary
ConstructorDescriptionConstructor - Create an empty objectCreateResponse
(CreateResponse theCreateResponse) Copy constructor - Creates a shallow copy only -
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a clone of this object using a shallow copy only.void
setResource
(IBaseResource theResource) Methods inherited from class ca.cdr.api.fhirgw.model.BaseWriteResponse
getId, setId
Methods inherited from class ca.cdr.api.fhirgw.model.BaseResponse
isCacheHit, isDeclinedToHandle, setCacheHit, setDeclinedToHandle
-
Constructor Details
-
CreateResponse
public CreateResponse()Constructor - Create an empty object -
CreateResponse
Copy constructor - Creates a shallow copy only
-
-
Method Details
-
getResource
-
setResource
-
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<CreateResponse>
-