package com.eactive.eai.rms.bat.web.eims.xml;

import java.util.HashMap;

import com.eactive.eai.rms.bat.web.eims.EIMSBatConstants;

public class Db2dbSndXml {

	private String srcAppCd			; //업무코드
	private String srcBzSystemCd		;//시스템코드
	private String srcDbExtractQuery	;//추출 쿼리
	private String trnsRsltRflctYn		;//결과반영여부
	private String srcDbRsltRflctQuery	;//결관반영 쿼리
	private String srcDbSvcNm			;
	private String srcDbTblNm			;
	private String srcAuthor			;
	
	
	public String getSrcAppCd() {
		return srcAppCd;
	}
	public void setSrcAppCd(String srcAppCd) {
		this.srcAppCd = srcAppCd;
	}
	public String getSrcAuthor() {
		return srcAuthor;
	}
	public void setSrcAuthor(String srcAuthor) {
		this.srcAuthor = srcAuthor;
	}
	public String getSrcBzSystemCd() {
		return srcBzSystemCd;
	}
	public void setSrcBzSystemCd(String srcBzSystemCd) {
		this.srcBzSystemCd = srcBzSystemCd;
	}
	public String getSrcDbExtractQuery() {
		return srcDbExtractQuery;
	}
	public void setSrcDbExtractQuery(String srcDbExtractQuery) {
		this.srcDbExtractQuery = srcDbExtractQuery;
	}
	public String getSrcDbRsltRflctQuery() {
		return srcDbRsltRflctQuery;
	}
	public void setSrcDbRsltRflctQuery(String srcDbRsltRflctQuery) {
		this.srcDbRsltRflctQuery = srcDbRsltRflctQuery;
	}
	public String getSrcDbSvcNm() {
		return srcDbSvcNm;
	}
	public void setSrcDbSvcNm(String srcDbSvcNm) {
		this.srcDbSvcNm = srcDbSvcNm;
	}
	public String getSrcDbTblNm() {
		return srcDbTblNm;
	}
	public void setSrcDbTblNm(String srcDbTblNm) {
		this.srcDbTblNm = srcDbTblNm;
	}
	public String getTrnsRsltRflctYn() {
		return trnsRsltRflctYn;
	}
	public void setTrnsRsltRflctYn(String trnsRsltRflctYn) {
		this.trnsRsltRflctYn = trnsRsltRflctYn;
	}
	
	/**
	 * 
	 * @param d2DSndMap
	 */
	public void setAllD2DSndXml(HashMap<String,String> d2DSndMap) {
		
		this.setSrcBzSystemCd(d2DSndMap.get(EIMSBatConstants.SRCBZSYSTEMCD ));
		this.setSrcAppCd(d2DSndMap.get(EIMSBatConstants.SRCAPPCD ));
		this.setSrcAuthor(d2DSndMap.get(EIMSBatConstants.SRCAUTHOR ));
		this.setSrcDbSvcNm(d2DSndMap.get(EIMSBatConstants.SRCDBSVCNM ));
		this.setSrcDbTblNm(d2DSndMap.get(EIMSBatConstants.SRCDBTBLNM ));
		this.setSrcDbExtractQuery(d2DSndMap.get(EIMSBatConstants.SRCDBEXTRACTQUERY ));
		
		//결과 반영 여부 값이 없을 수 있음.
		this.setTrnsRsltRflctYn(d2DSndMap.get(EIMSBatConstants.TRNSRSLTRFLCTYN ));
		this.setSrcDbRsltRflctQuery(d2DSndMap.get(EIMSBatConstants.SRCDBRSLTRFLCTQUERY ));
		
	}
	
}
