Class SearchParametersTransport


  • public class SearchParametersTransport
    extends java.lang.Object
    Represents a collection of search parameters extracted from a FHIR resource held in a form that is easy to serialize/deserialize to a wire format (e.g. JSON) for sending to a remote/async indexing service.
    • Constructor Detail

      • SearchParametersTransport

        public SearchParametersTransport()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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
      • getLogicalResourceId

        public long getLogicalResourceId()
        Returns:
        the logicalResourceId
      • setLogicalResourceId

        public void setLogicalResourceId​(long logicalResourceId)
        Parameters:
        logicalResourceId - the logicalResourceId to set
      • getStringValues

        public java.util.List<StringParameter> getStringValues()
        Returns:
        the stringValues
      • setStringValues

        public void setStringValues​(java.util.List<StringParameter> stringValues)
        Parameters:
        stringValues - the stringValues to set
      • getNumberValues

        public java.util.List<NumberParameter> getNumberValues()
        Returns:
        the numberValues
      • setNumberValues

        public void setNumberValues​(java.util.List<NumberParameter> numberValues)
        Parameters:
        numberValues - the numberValues to set
      • getQuantityValues

        public java.util.List<QuantityParameter> getQuantityValues()
        Returns:
        the quantityValues
      • setQuantityValues

        public void setQuantityValues​(java.util.List<QuantityParameter> quantityValues)
        Parameters:
        quantityValues - the quantityValues to set
      • getTokenValues

        public java.util.List<TokenParameter> getTokenValues()
        Returns:
        the tokenValues
      • setTokenValues

        public void setTokenValues​(java.util.List<TokenParameter> tokenValues)
        Parameters:
        tokenValues - the tokenValues to set
      • getDateValues

        public java.util.List<DateParameter> getDateValues()
        Returns:
        the dateValues
      • setDateValues

        public void setDateValues​(java.util.List<DateParameter> dateValues)
        Parameters:
        dateValues - the dateValues to set
      • getLocationValues

        public java.util.List<LocationParameter> getLocationValues()
        Returns:
        the locationValues
      • setLocationValues

        public void setLocationValues​(java.util.List<LocationParameter> locationValues)
        Parameters:
        locationValues - the locationValues to set
      • getRequestShard

        public java.lang.String getRequestShard()
        Returns:
        the requestShard
      • setRequestShard

        public void setRequestShard​(java.lang.String shardValue)
        Parameters:
        shardValue - the request shard value to set
      • getTagValues

        public java.util.List<TagParameter> getTagValues()
        Returns:
        the tagValues
      • setTagValues

        public void setTagValues​(java.util.List<TagParameter> tagValues)
        Parameters:
        tagValues - the tagValues to set
      • getProfileValues

        public java.util.List<ProfileParameter> getProfileValues()
        Returns:
        the profileValues
      • setProfileValues

        public void setProfileValues​(java.util.List<ProfileParameter> profileValues)
        Parameters:
        profileValues - the profileValues to set
      • getSecurityValues

        public java.util.List<SecurityParameter> getSecurityValues()
        Returns:
        the securityValues
      • setSecurityValues

        public void setSecurityValues​(java.util.List<SecurityParameter> securityValues)
        Parameters:
        profileValues - the profileValues to set
      • getVersionId

        public int getVersionId()
        Returns:
        the versionId
      • setVersionId

        public void setVersionId​(int versionId)
        Parameters:
        versionId - the versionId to set
      • getParameterHash

        public java.lang.String getParameterHash()
        Returns:
        the parameterHash
      • setParameterHash

        public void setParameterHash​(java.lang.String parameterHash)
        Parameters:
        parameterHash - the parameterHash to set
      • getLastUpdated

        public java.time.Instant getLastUpdated()
        Returns:
        the lastUpdated (UTC)
      • setLastUpdated

        public void setLastUpdated​(java.time.Instant lastUpdated)
        Parameters:
        lastUpdated - the lastUpdated to set.
      • getLastUpdatedInstant

        public java.time.Instant getLastUpdatedInstant()
        Convenience function to get the lastUpdated time as an Instant. All our times are always UTC.
        Returns:
      • getRefValues

        public java.util.List<ReferenceParameter> getRefValues()
        Returns:
        the refValues
      • setRefValues

        public void setRefValues​(java.util.List<ReferenceParameter> refValues)
        Parameters:
        refValues - the refValues to set