Class FHIRRestOperationResponse


  • public class FHIRRestOperationResponse
    extends Object
    This class is used to represent a response returned by the FHIR resource helper methods.
    • Constructor Detail

      • FHIRRestOperationResponse

        public FHIRRestOperationResponse()
      • FHIRRestOperationResponse

        public FHIRRestOperationResponse​(javax.ws.rs.core.Response.Status status,
                                         URI locationURI,
                                         Resource resource)
      • FHIRRestOperationResponse

        public FHIRRestOperationResponse​(javax.ws.rs.core.Response.Status status,
                                         URI locationURI,
                                         OperationOutcome operationOutcome)
    • Method Detail

      • getStatus

        public javax.ws.rs.core.Response.Status getStatus()
      • setStatus

        public void setStatus​(javax.ws.rs.core.Response.Status status)
      • getLocationURI

        public URI getLocationURI()
      • setLocationURI

        public void setLocationURI​(URI locationURI)
      • getResource

        public Resource getResource()
      • setResource

        public void setResource​(Resource resource)
      • getPrevResource

        public Resource getPrevResource()
      • setPrevResource

        public void setPrevResource​(Resource prevResource)
      • setOperationOutcome

        public void setOperationOutcome​(OperationOutcome operationOutcome)
      • getResourceId

        public String getResourceId()
        Getter for the resourceId
        Returns:
      • isDeleted

        public boolean isDeleted()
        Returns:
        the deleted
      • setDeleted

        public void setDeleted​(boolean deleted)
        Parameters:
        deleted - the deleted to set
      • isCompleted

        public boolean isCompleted()
        Returns:
        the completed
      • setCompleted

        public void setCompleted​(boolean completed)
        Parameters:
        completed - the completed to set
      • getStorePayloadResponse

        public Future<PayloadKey> getStorePayloadResponse()
        Returns:
        the storePayloadResponse
      • setStorePayloadResponse

        public void setStorePayloadResponse​(Future<PayloadKey> storePayloadResponse)
        Parameters:
        storePayloadResponse - the storePayloadResponse to set