Class FHIRRestInteractionResource

    • Constructor Detail

      • FHIRRestInteractionResource

        protected FHIRRestInteractionResource​(int entryIndex,
                                              FHIRPersistenceEvent event,
                                              Resource newResource,
                                              Bundle.Entry validationResponseEntry,
                                              java.lang.String requestDescription,
                                              FHIRUrlParser requestURL)
        Protected constructor
        Parameters:
        entryIndex -
        event -
        newResource -
        validationResponseEntry -
        requestDescription -
        requestURL -
    • Method Detail

      • getValidationResponseEntry

        public Bundle.Entry getValidationResponseEntry()
        Returns:
        the validationResponseEntry
      • setNewResource

        public void setNewResource​(Resource resource)
        Setter for updatedResource
        Parameters:
        resource -
      • getNewResource

        public Resource getNewResource()
        Get the updated resource, or if null, the original resource.
        Returns:
        the most recent instance of the resource
      • setPrevResource

        public void setPrevResource​(Resource prevResource)
        Setter for prevResource
        Parameters:
        prevResource -
      • getPrevResource

        public Resource getPrevResource()
        Get the previous resource
        Returns:
      • setOffloadResponse

        public void setOffloadResponse​(PayloadPersistenceResponse offloadResponse)
        Parameters:
        offloadResponse - the offloadResponse to set