All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.fhir.persistence.jdbc.dto.CommonTokenValueResult Maven / Gradle / Ivy

There is a newer version: 4.11.1
Show newest version
/*
 * (C) Copyright IBM Corp. 2021
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package com.ibm.fhir.persistence.jdbc.dto;


/**
 * DTO representing the result of a lookup on common token value id and the
 * corresponding code system id
 */
public class CommonTokenValueResult {
    private final String tokenValue;
    private final int codeSystemId;
    private final long commonTokenValueId;

    /**
     * Public constructor
     * @param tokenValue
     * @param codeSystemId
     * @param commonTokenValueId
     */
    public CommonTokenValueResult(String tokenValue, int codeSystemId, long commonTokenValueId) {
        this.tokenValue = tokenValue;
        this.codeSystemId = codeSystemId;
        this.commonTokenValueId = commonTokenValueId;
    }

    /**
     * @return the tokenValue
     */
    public String getTokenValue() {
        return tokenValue;
    }

    /**
     * @return the commonTokenValueId
     */
    public long getCommonTokenValueId() {
        return commonTokenValueId;
    }

    /**
     * @return the codeSystemId
     */
    public int getCodeSystemId() {
        return codeSystemId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy