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

com.ibm.fhir.persistence.jdbc.dto.ErasedResourceRec 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;


/**
 * A DTO representing an erased resource from ERASED_RESOURCES
 */
public class ErasedResourceRec {
    private final long erasedResourceId;
    private final int resourceTypeId;
    private final String logicalId;
    private final Integer versionId;
    
    /**
     * Public constructor
     * @param erasedResourceId
     * @param resourceTypeId
     * @param logicalId
     * @param versionId
     */
    public ErasedResourceRec(long erasedResourceId, int resourceTypeId, String logicalId, Integer versionId) {
        this.erasedResourceId = erasedResourceId;
        this.resourceTypeId = resourceTypeId;
        this.logicalId = logicalId;
        this.versionId = versionId;
    }

    
    /**
     * @return the erasedResourceId
     */
    public long getErasedResourceId() {
        return erasedResourceId;
    }

    
    /**
     * @return the resourceTypeId
     */
    public int getResourceTypeId() {
        return resourceTypeId;
    }

    
    /**
     * @return the logicalId
     */
    public String getLogicalId() {
        return logicalId;
    }

    
    /**
     * @return the versionId
     */
    public Integer getVersionId() {
        return versionId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy