/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/beans/PacsConfigurationVoBean.java
//#############################################################################
//#                                                                           #
//#  Copyright (C) <2015>  <IMS MAXIMS>                                       #
//#                                                                           #
//#  This program is free software: you can redistribute it and/or modify     #
//#  it under the terms of the GNU Affero General Public License as           #
//#  published by the Free Software Foundation, either version 3 of the       #
//#  License, or (at your option) any later version.                          # 
//#                                                                           #
//#  This program is distributed in the hope that it will be useful,          #
//#  but WITHOUT ANY WARRANTY; without even the implied warranty of           #
//#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
//#  GNU Affero General Public License for more details.                      #
//#                                                                           #
//#  You should have received a copy of the GNU Affero General Public License #
//#  along with this program.  If not, see <http://www.gnu.org/licenses/>.    #
//#                                                                           #
//#  IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of    #
//#  this program.  Users of this software do so entirely at their own risk.  #
//#  IMS MAXIMS only ensures the Clinical Safety of unaltered run-time        #
//#  software that it builds, deploys and maintains.                          #
//#                                                                           #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file

package ims.core.vo.beans;

public class PacsConfigurationVoBean extends ims.vo.ValueObjectBean
{
	public PacsConfigurationVoBean()
	{
	}
	public PacsConfigurationVoBean(ims.core.vo.PacsConfigurationVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.serveraddress = vo.getServerAddress();
		this.usernameparam = vo.getUserNameParam();
		this.username = vo.getUsername();
		this.passwordparam = vo.getPasswordParam();
		this.password = vo.getPassword();
		this.accessionparam = vo.getAccessionParam();
		this.accessiontestvalue = vo.getAccessionTestValue();
		this.pacsclienttype = vo.getPACSClientType() == null ? null : (ims.vo.LookupInstanceBean)vo.getPACSClientType().getBean();
		this.useloggedusername = vo.getUseLoggedUserName();
		this.primaryidentifier = vo.getPrimaryIdentifier() == null ? null : (ims.vo.LookupInstanceBean)vo.getPrimaryIdentifier().getBean();
		this.secondaryidentifier = vo.getSecondaryIdentifier() == null ? null : (ims.vo.LookupInstanceBean)vo.getSecondaryIdentifier().getBean();
		this.patientidentifierparam = vo.getPatientIdentifierParam();
		this.issuerofidentifierparam = vo.getIssuerOfIdentifierParam();
		this.sessiontimeparam = vo.getSessionTimeParam();
		this.primaryidentifiercode = vo.getPrimaryIdentifierCode();
		this.secondaryidentifiercode = vo.getSecondaryIdentifierCode();
		this.aeskey = vo.getAESKey();
		this.useencryptedtoken = vo.getUseEncryptedToken();
		this.encryptedtokenparam = vo.getEncryptedTokenParam();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.PacsConfigurationVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.serveraddress = vo.getServerAddress();
		this.usernameparam = vo.getUserNameParam();
		this.username = vo.getUsername();
		this.passwordparam = vo.getPasswordParam();
		this.password = vo.getPassword();
		this.accessionparam = vo.getAccessionParam();
		this.accessiontestvalue = vo.getAccessionTestValue();
		this.pacsclienttype = vo.getPACSClientType() == null ? null : (ims.vo.LookupInstanceBean)vo.getPACSClientType().getBean();
		this.useloggedusername = vo.getUseLoggedUserName();
		this.primaryidentifier = vo.getPrimaryIdentifier() == null ? null : (ims.vo.LookupInstanceBean)vo.getPrimaryIdentifier().getBean();
		this.secondaryidentifier = vo.getSecondaryIdentifier() == null ? null : (ims.vo.LookupInstanceBean)vo.getSecondaryIdentifier().getBean();
		this.patientidentifierparam = vo.getPatientIdentifierParam();
		this.issuerofidentifierparam = vo.getIssuerOfIdentifierParam();
		this.sessiontimeparam = vo.getSessionTimeParam();
		this.primaryidentifiercode = vo.getPrimaryIdentifierCode();
		this.secondaryidentifiercode = vo.getSecondaryIdentifierCode();
		this.aeskey = vo.getAESKey();
		this.useencryptedtoken = vo.getUseEncryptedToken();
		this.encryptedtokenparam = vo.getEncryptedTokenParam();
	}

	public ims.core.vo.PacsConfigurationVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.core.vo.PacsConfigurationVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.core.vo.PacsConfigurationVo vo = null;
		if(map != null)
			vo = (ims.core.vo.PacsConfigurationVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.core.vo.PacsConfigurationVo();
			map.addValueObject(this, vo);
			vo.populate(map, this);
		}
		return vo;
	}

	public Integer getId()
	{
		return this.id;
	}
	public void setId(Integer value)
	{
		this.id = value;
	}
	public int getVersion()
	{
		return this.version;
	}
	public void setVersion(int value)
	{
		this.version = value;
	}
	public String getServerAddress()
	{
		return this.serveraddress;
	}
	public void setServerAddress(String value)
	{
		this.serveraddress = value;
	}
	public String getUserNameParam()
	{
		return this.usernameparam;
	}
	public void setUserNameParam(String value)
	{
		this.usernameparam = value;
	}
	public String getUsername()
	{
		return this.username;
	}
	public void setUsername(String value)
	{
		this.username = value;
	}
	public String getPasswordParam()
	{
		return this.passwordparam;
	}
	public void setPasswordParam(String value)
	{
		this.passwordparam = value;
	}
	public String getPassword()
	{
		return this.password;
	}
	public void setPassword(String value)
	{
		this.password = value;
	}
	public String getAccessionParam()
	{
		return this.accessionparam;
	}
	public void setAccessionParam(String value)
	{
		this.accessionparam = value;
	}
	public String getAccessionTestValue()
	{
		return this.accessiontestvalue;
	}
	public void setAccessionTestValue(String value)
	{
		this.accessiontestvalue = value;
	}
	public ims.vo.LookupInstanceBean getPACSClientType()
	{
		return this.pacsclienttype;
	}
	public void setPACSClientType(ims.vo.LookupInstanceBean value)
	{
		this.pacsclienttype = value;
	}
	public Boolean getUseLoggedUserName()
	{
		return this.useloggedusername;
	}
	public void setUseLoggedUserName(Boolean value)
	{
		this.useloggedusername = value;
	}
	public ims.vo.LookupInstanceBean getPrimaryIdentifier()
	{
		return this.primaryidentifier;
	}
	public void setPrimaryIdentifier(ims.vo.LookupInstanceBean value)
	{
		this.primaryidentifier = value;
	}
	public ims.vo.LookupInstanceBean getSecondaryIdentifier()
	{
		return this.secondaryidentifier;
	}
	public void setSecondaryIdentifier(ims.vo.LookupInstanceBean value)
	{
		this.secondaryidentifier = value;
	}
	public String getPatientIdentifierParam()
	{
		return this.patientidentifierparam;
	}
	public void setPatientIdentifierParam(String value)
	{
		this.patientidentifierparam = value;
	}
	public String getIssuerOfIdentifierParam()
	{
		return this.issuerofidentifierparam;
	}
	public void setIssuerOfIdentifierParam(String value)
	{
		this.issuerofidentifierparam = value;
	}
	public String getSessionTimeParam()
	{
		return this.sessiontimeparam;
	}
	public void setSessionTimeParam(String value)
	{
		this.sessiontimeparam = value;
	}
	public String getPrimaryIdentifierCode()
	{
		return this.primaryidentifiercode;
	}
	public void setPrimaryIdentifierCode(String value)
	{
		this.primaryidentifiercode = value;
	}
	public String getSecondaryIdentifierCode()
	{
		return this.secondaryidentifiercode;
	}
	public void setSecondaryIdentifierCode(String value)
	{
		this.secondaryidentifiercode = value;
	}
	public String getAESKey()
	{
		return this.aeskey;
	}
	public void setAESKey(String value)
	{
		this.aeskey = value;
	}
	public Boolean getUseEncryptedToken()
	{
		return this.useencryptedtoken;
	}
	public void setUseEncryptedToken(Boolean value)
	{
		this.useencryptedtoken = value;
	}
	public String getEncryptedTokenParam()
	{
		return this.encryptedtokenparam;
	}
	public void setEncryptedTokenParam(String value)
	{
		this.encryptedtokenparam = value;
	}

	private Integer id;
	private int version;
	private String serveraddress;
	private String usernameparam;
	private String username;
	private String passwordparam;
	private String password;
	private String accessionparam;
	private String accessiontestvalue;
	private ims.vo.LookupInstanceBean pacsclienttype;
	private Boolean useloggedusername;
	private ims.vo.LookupInstanceBean primaryidentifier;
	private ims.vo.LookupInstanceBean secondaryidentifier;
	private String patientidentifierparam;
	private String issuerofidentifierparam;
	private String sessiontimeparam;
	private String primaryidentifiercode;
	private String secondaryidentifiercode;
	private String aeskey;
	private Boolean useencryptedtoken;
	private String encryptedtokenparam;
}
