Class Resource


  • public class Resource
    extends java.lang.Object
    This class defines the Data Transfer Object representing a row in the FHIR Resource table.
    • Constructor Detail

      • Resource

        public Resource()
    • Method Detail

      • getResourceType

        public java.lang.String getResourceType()
      • setResourceType

        public void setResourceType​(java.lang.String resourceType)
      • getLastUpdated

        public java.sql.Timestamp getLastUpdated()
      • setLastUpdated

        public void setLastUpdated​(java.sql.Timestamp lastUpdated)
      • setIfNoneMatchVersion

        public void setIfNoneMatchVersion​(java.lang.Integer version)
        Setter for the ifNoneMatchVersion value
        Parameters:
        version -
      • getIfNoneMatchVersion

        public java.lang.Integer getIfNoneMatchVersion()
        Getter for the ifNoneMatchVersion value
        Returns:
      • getResourceId

        public long getResourceId()
        Getter for the database xx_resources.resource_id value
        Returns:
      • setResourceId

        public void setResourceId​(long id)
        Setter for the database xx_resources.resource_id value
        Parameters:
        id -
      • getLogicalResourceId

        public long getLogicalResourceId()
        Getter for the logical_resources.logical_resource_id value
        Returns:
      • setLogicalResourceId

        public void setLogicalResourceId​(long logicalResourceId)
        Setter for the logical_resources.logical_resource_id value
        Parameters:
        logicalResourceId -
      • getLogicalId

        public java.lang.String getLogicalId()
      • setLogicalId

        public void setLogicalId​(java.lang.String logicalId)
      • getVersionId

        public int getVersionId()
      • setVersionId

        public void setVersionId​(int versionId)
      • isDeleted

        public boolean isDeleted()
      • setDeleted

        public void setDeleted​(boolean deleted)
      • toString

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

        public void setDataStream​(InputOutputByteStream dataStream)
        Parameters:
        dataStream - the dataStream to set
      • getInteractionStatus

        public InteractionStatus getInteractionStatus()
        Returns:
        the interactionStatus
      • setInteractionStatus

        public void setInteractionStatus​(InteractionStatus interactionStatus)
        Parameters:
        interactionStatus - the interactionStatus to set
      • getResourceTypeId

        public int getResourceTypeId()
        Returns:
        the resourceTypeId
      • setResourceTypeId

        public void setResourceTypeId​(int resourceTypeId)
        Parameters:
        resourceTypeId - the resourceTypeId to set
      • getResourcePayloadKey

        public java.lang.String getResourcePayloadKey()
        Returns:
        the resourcePayloadKey
      • setResourcePayloadKey

        public void setResourcePayloadKey​(java.lang.String resourcePayloadKey)
        Parameters:
        resourcePayloadKey - the resourcePayloadKey to set
      • getCurrentParameterHash

        public java.lang.String getCurrentParameterHash()
        Returns:
        the currentParameterHash
      • setCurrentParameterHash

        public void setCurrentParameterHash​(java.lang.String currentParameterHash)
        Parameters:
        currentParameterHash - the currentParameterHash to set