Class EraseDTO


  • public class EraseDTO
    extends java.lang.Object
    The data transfer object with the necessary elements used to process the Erase of a resource specified by TYPE/LOGICAL_ID[/version].
    • Constructor Detail

      • EraseDTO

        public EraseDTO()
    • Method Detail

      • getPatient

        public java.lang.String getPatient()
        Returns:
        the patient identifier
      • setPatient

        public void setPatient​(java.lang.String patient)
        sets the identifier.
        Parameters:
        patient - the patient identifier
      • getReason

        public java.lang.String getReason()
        Returns:
        the reason
      • setReason

        public void setReason​(java.lang.String reason)
        Parameters:
        reason - the reason to set
      • getResourceType

        public java.lang.String getResourceType()
        Returns:
        the resourceType
      • setResourceType

        public void setResourceType​(java.lang.String resourceType)
        Parameters:
        resourceType - the resourceType to set
      • getLogicalId

        public java.lang.String getLogicalId()
        Returns:
        the logicalId
      • setLogicalId

        public void setLogicalId​(java.lang.String logicalId)
        Parameters:
        logicalId - the logicalId to set
      • getVersion

        public java.lang.Integer getVersion()
        Returns:
        the version
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Parameters:
        version - the version to set
      • generateReference

        public java.lang.String generateReference()
        Generates a reference from the input.
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object