Class FHIRRestOperationResponse


  • public class FHIRRestOperationResponse
    extends java.lang.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,
                                         java.net.URI locationURI,
                                         Resource resource)
      • FHIRRestOperationResponse

        public FHIRRestOperationResponse​(javax.ws.rs.core.Response.Status status,
                                         java.net.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 java.net.URI getLocationURI()
      • setLocationURI

        public void setLocationURI​(java.net.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 java.lang.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
      • setStorePayloadResponse

        public void setStorePayloadResponse​(PayloadPersistenceResponse storePayloadResponse)
        Parameters:
        storePayloadResponse - the storePayloadResponse to set
      • getVersionForETag

        public int getVersionForETag()
        Returns:
        the versionForETag
      • setVersionForETag

        public void setVersionForETag​(int versionForETag)
        Parameters:
        versionForETag - the versionForETag to set