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 022import ca.uhn.fhir.rest.api.server.RequestDetails; 023import org.hl7.fhir.instance.model.api.IAnyResource; 024 025public class MdmUnduplicateGoldenResourceParams { 026 027 private String myGoldenResourceId; 028 029 private IAnyResource myGoldenResource; 030 031 private String myTargetGoldenResourceId; 032 033 private IAnyResource myTargetGoldenResource; 034 035 private MdmTransactionContext myMdmContext; 036 037 private RequestDetails myRequestDetails; 038 039 public IAnyResource getGoldenResource() { 040 return myGoldenResource; 041 } 042 043 public void setGoldenResource(IAnyResource theGoldenResource) { 044 myGoldenResource = theGoldenResource; 045 } 046 047 public IAnyResource getTargetGoldenResource() { 048 return myTargetGoldenResource; 049 } 050 051 public void setTargetGoldenResource(IAnyResource theTargetGoldenResource) { 052 myTargetGoldenResource = theTargetGoldenResource; 053 } 054 055 public MdmTransactionContext getMdmContext() { 056 return myMdmContext; 057 } 058 059 public void setMdmContext(MdmTransactionContext theMdmContext) { 060 myMdmContext = theMdmContext; 061 } 062 063 public RequestDetails getRequestDetails() { 064 return myRequestDetails; 065 } 066 067 public void setRequestDetails(RequestDetails theRequestDetails) { 068 myRequestDetails = theRequestDetails; 069 } 070 071 public String getGoldenResourceId() { 072 return myGoldenResourceId; 073 } 074 075 public void setGoldenResourceId(String theGoldenResourceId) { 076 myGoldenResourceId = theGoldenResourceId; 077 } 078 079 public String getTargetGoldenResourceId() { 080 return myTargetGoldenResourceId; 081 } 082 083 public void setTargetGoldenResourceId(String theTargetGoldenResourceId) { 084 myTargetGoldenResourceId = theTargetGoldenResourceId; 085 } 086}