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 MdmMergeGoldenResourcesParams { 026 private String myFromGoldenResourceId; 027 private IAnyResource myFromGoldenResource; 028 private String myToGoldenResourceId; 029 030 private IAnyResource myManuallyMergedResource; 031 032 private IAnyResource myToGoldenResource; 033 034 private MdmTransactionContext myMdmTransactionContext; 035 036 private RequestDetails myRequestDetails; 037 038 public String getFromGoldenResourceId() { 039 return myFromGoldenResourceId; 040 } 041 042 public void setFromGoldenResourceId(String theTheFromGoldenResourceId) { 043 myFromGoldenResourceId = theTheFromGoldenResourceId; 044 } 045 046 public String getToGoldenResourceId() { 047 return myToGoldenResourceId; 048 } 049 050 public void setToGoldenResourceId(String theTheToGoldenResourceId) { 051 myToGoldenResourceId = theTheToGoldenResourceId; 052 } 053 054 public IAnyResource getFromGoldenResource() { 055 return myFromGoldenResource; 056 } 057 058 public void setFromGoldenResource(IAnyResource theFromGoldenResource) { 059 myFromGoldenResource = theFromGoldenResource; 060 } 061 062 public IAnyResource getManuallyMergedResource() { 063 return myManuallyMergedResource; 064 } 065 066 public void setManuallyMergedResource(IAnyResource theManuallyMergedResource) { 067 myManuallyMergedResource = theManuallyMergedResource; 068 } 069 070 public IAnyResource getToGoldenResource() { 071 return myToGoldenResource; 072 } 073 074 public void setToGoldenResource(IAnyResource theToGoldenResource) { 075 myToGoldenResource = theToGoldenResource; 076 } 077 078 public MdmTransactionContext getMdmTransactionContext() { 079 return myMdmTransactionContext; 080 } 081 082 public void setMdmTransactionContext(MdmTransactionContext theMdmTransactionContext) { 083 myMdmTransactionContext = theMdmTransactionContext; 084 } 085 086 public RequestDetails getRequestDetails() { 087 return myRequestDetails; 088 } 089 090 public void setRequestDetails(RequestDetails theRequestDetails) { 091 myRequestDetails = theRequestDetails; 092 } 093}