001/*-
002 * #%L
003 * HAPI FHIR - Master Data Management
004 * %%
005 * Copyright (C) 2014 - 2024 Smile CDR, Inc.
006 * %%
007 * Licensed under the Apache License, Version 2.0 (the "License");
008 * you may not use this file except in compliance with the License.
009 * You may obtain a copy of the License at
010 *
011 *      http://www.apache.org/licenses/LICENSE-2.0
012 *
013 * Unless required by applicable law or agreed to in writing, software
014 * distributed under the License is distributed on an "AS IS" BASIS,
015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
016 * See the License for the specific language governing permissions and
017 * limitations under the License.
018 * #L%
019 */
020package ca.uhn.fhir.mdm.model;
021
022public class MdmResourceMetrics {
023
024        /**
025         * The resource type to which these metrics apply.
026         */
027        private String myResourceType;
028
029        /**
030         * The number of golden resources.
031         */
032        private long myGoldenResourcesCount;
033
034        /**
035         * The number of source resources.
036         */
037        private long mySourceResourcesCount;
038
039        /**
040         * The number of excluded resources.
041         * These are necessarily a subset of both
042         * GoldenResources and SourceResources
043         * (as each Blocked resource will still generate
044         * a GoldenResource)
045         */
046        private long myExcludedResources;
047
048        public String getResourceType() {
049                return myResourceType;
050        }
051
052        public void setResourceType(String theResourceType) {
053                myResourceType = theResourceType;
054        }
055
056        public long getGoldenResourcesCount() {
057                return myGoldenResourcesCount;
058        }
059
060        public void setGoldenResourcesCount(long theGoldenResourcesCount) {
061                myGoldenResourcesCount = theGoldenResourcesCount;
062        }
063
064        public long getSourceResourcesCount() {
065                return mySourceResourcesCount;
066        }
067
068        public void setSourceResourcesCount(long theSourceResourcesCount) {
069                mySourceResourcesCount = theSourceResourcesCount;
070        }
071
072        public long getExcludedResources() {
073                return myExcludedResources;
074        }
075
076        public void setExcludedResources(long theExcludedResources) {
077                myExcludedResources = theExcludedResources;
078        }
079}