Class ResourceTokenValueRec


  • public class ResourceTokenValueRec
    extends ResourceRefRec
    A DTO representing a mapping of a resource and token value. The record is used to drive the population of the CODE_SYSTEMS, COMMON_TOKEN_VALUES TOKEN_VALUES_MAP and _TOKEN_VALUES_MAP tables.
    • Constructor Detail

      • ResourceTokenValueRec

        public ResourceTokenValueRec​(int parameterNameId,
                                     String resourceType,
                                     long resourceTypeId,
                                     long logicalResourceId,
                                     String codeSystem,
                                     String externalRefValue)
        Public constructor
        Parameters:
        parameterNameId -
        resourceType -
        resourceTypeId -
        logicalResourceId -
        externalSystemName -
        externalRefValue -
      • ResourceTokenValueRec

        public ResourceTokenValueRec​(int parameterNameId,
                                     String resourceType,
                                     long resourceTypeId,
                                     long logicalResourceId,
                                     String externalSystemName,
                                     String externalRefValue,
                                     Integer refVersionId)
        Public constructor. For use to create a versioned resource reference
        Parameters:
        parameterNameId -
        resourceType -
        resourceTypeId -
        logicalResourceId -
        externalSystemName -
        externalRefValue -
        refVersionId -
    • Method Detail

      • getCodeSystemValue

        public String getCodeSystemValue()
        Returns:
        the codeSystemValue
      • getCodeSystemValueId

        public int getCodeSystemValueId()
        Returns:
        the codeSystemValueId
      • setCodeSystemValueId

        public void setCodeSystemValueId​(int codeSystemValueId)
        Parameters:
        externalSystemNameId - the externalSystemNameId to set
      • getTokenValue

        public String getTokenValue()
        Returns:
        the tokenValue
      • getCommonTokenValueId

        public Long getCommonTokenValueId()
        Returns:
        the commonTokenValueId, can be null if the value has not been set
      • setCommonTokenValueId

        public void setCommonTokenValueId​(long commonTokenValueId)
        Sets the database id for the commonTokenValue record.
        Parameters:
        commontTokenValueId - to set
      • getRefVersionId

        public Integer getRefVersionId()
        Returns:
        the refVersionId