/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/nursing/vo/beans/PatientInvasiveDeviceVoBean.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.nursing.vo.beans;

public class PatientInvasiveDeviceVoBean extends ims.vo.ValueObjectBean
{
	public PatientInvasiveDeviceVoBean()
	{
	}
	public PatientInvasiveDeviceVoBean(ims.nursing.vo.PatientInvasiveDeviceVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.invasivedevice = vo.getInvasiveDevice() == null ? null : (ims.clinicaladmin.vo.beans.InvasiveDeviceConfigShortVoBean)vo.getInvasiveDevice().getBean();
		this.inserteddatetime = vo.getInsertedDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getInsertedDateTime().getBean();
		this.insertedhcp = vo.getInsertedHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getInsertedHCP().getBean();
		this.vipscore = vo.getVIPScore() == null ? null : vo.getVIPScore().getBeanCollection();
		this.removaldatetime = vo.getRemovalDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getRemovalDateTime().getBean();
		this.removalhcp = vo.getRemovalHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getRemovalHCP().getBean();
		this.targetremovaldatetime = vo.getTargetRemovalDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTargetRemovalDateTime().getBean();
		this.site = vo.getSite();
		this.clinicalcontact = vo.getClinicalContact() == null ? null : new ims.vo.RefVoBean(vo.getClinicalContact().getBoId(), vo.getClinicalContact().getBoVersion());
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInformation().getBean();
		this.type = vo.getType() == null ? null : new ims.vo.RefVoBean(vo.getType().getBoId(), vo.getType().getBoVersion());
		this.size = vo.getSize() == null ? null : new ims.vo.RefVoBean(vo.getSize().getBoId(), vo.getSize().getBoVersion());
		this.comment = vo.getComment();
		this.removalreason = vo.getRemovalReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getRemovalReason().getBean();
		this.sentforculture = vo.getSentForCulture() == null ? null : (ims.vo.LookupInstanceBean)vo.getSentForCulture().getBean();
		this.result = vo.getResult();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.nursing.vo.PatientInvasiveDeviceVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.invasivedevice = vo.getInvasiveDevice() == null ? null : (ims.clinicaladmin.vo.beans.InvasiveDeviceConfigShortVoBean)vo.getInvasiveDevice().getBean(map);
		this.inserteddatetime = vo.getInsertedDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getInsertedDateTime().getBean();
		this.insertedhcp = vo.getInsertedHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getInsertedHCP().getBean(map);
		this.vipscore = vo.getVIPScore() == null ? null : vo.getVIPScore().getBeanCollection();
		this.removaldatetime = vo.getRemovalDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getRemovalDateTime().getBean();
		this.removalhcp = vo.getRemovalHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getRemovalHCP().getBean(map);
		this.targetremovaldatetime = vo.getTargetRemovalDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTargetRemovalDateTime().getBean();
		this.site = vo.getSite();
		this.clinicalcontact = vo.getClinicalContact() == null ? null : new ims.vo.RefVoBean(vo.getClinicalContact().getBoId(), vo.getClinicalContact().getBoVersion());
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInformation().getBean(map);
		this.type = vo.getType() == null ? null : new ims.vo.RefVoBean(vo.getType().getBoId(), vo.getType().getBoVersion());
		this.size = vo.getSize() == null ? null : new ims.vo.RefVoBean(vo.getSize().getBoId(), vo.getSize().getBoVersion());
		this.comment = vo.getComment();
		this.removalreason = vo.getRemovalReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getRemovalReason().getBean();
		this.sentforculture = vo.getSentForCulture() == null ? null : (ims.vo.LookupInstanceBean)vo.getSentForCulture().getBean();
		this.result = vo.getResult();
	}

	public ims.nursing.vo.PatientInvasiveDeviceVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.nursing.vo.PatientInvasiveDeviceVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.nursing.vo.PatientInvasiveDeviceVo vo = null;
		if(map != null)
			vo = (ims.nursing.vo.PatientInvasiveDeviceVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.nursing.vo.PatientInvasiveDeviceVo();
			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 ims.clinicaladmin.vo.beans.InvasiveDeviceConfigShortVoBean getInvasiveDevice()
	{
		return this.invasivedevice;
	}
	public void setInvasiveDevice(ims.clinicaladmin.vo.beans.InvasiveDeviceConfigShortVoBean value)
	{
		this.invasivedevice = value;
	}
	public ims.framework.utils.beans.DateTimeBean getInsertedDateTime()
	{
		return this.inserteddatetime;
	}
	public void setInsertedDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.inserteddatetime = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getInsertedHCP()
	{
		return this.insertedhcp;
	}
	public void setInsertedHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.insertedhcp = value;
	}
	public ims.nursing.vo.beans.PatientInvasiveDeviceVipVoBean[] getVIPScore()
	{
		return this.vipscore;
	}
	public void setVIPScore(ims.nursing.vo.beans.PatientInvasiveDeviceVipVoBean[] value)
	{
		this.vipscore = value;
	}
	public ims.framework.utils.beans.DateTimeBean getRemovalDateTime()
	{
		return this.removaldatetime;
	}
	public void setRemovalDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.removaldatetime = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getRemovalHCP()
	{
		return this.removalhcp;
	}
	public void setRemovalHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.removalhcp = value;
	}
	public ims.framework.utils.beans.DateTimeBean getTargetRemovalDateTime()
	{
		return this.targetremovaldatetime;
	}
	public void setTargetRemovalDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.targetremovaldatetime = value;
	}
	public String getSite()
	{
		return this.site;
	}
	public void setSite(String value)
	{
		this.site = value;
	}
	public ims.vo.RefVoBean getClinicalContact()
	{
		return this.clinicalcontact;
	}
	public void setClinicalContact(ims.vo.RefVoBean value)
	{
		this.clinicalcontact = value;
	}
	public ims.vo.RefVoBean getCareContext()
	{
		return this.carecontext;
	}
	public void setCareContext(ims.vo.RefVoBean value)
	{
		this.carecontext = value;
	}
	public ims.core.vo.beans.AuthoringInformationVoBean getAuthoringInformation()
	{
		return this.authoringinformation;
	}
	public void setAuthoringInformation(ims.core.vo.beans.AuthoringInformationVoBean value)
	{
		this.authoringinformation = value;
	}
	public ims.vo.RefVoBean getType()
	{
		return this.type;
	}
	public void setType(ims.vo.RefVoBean value)
	{
		this.type = value;
	}
	public ims.vo.RefVoBean getSize()
	{
		return this.size;
	}
	public void setSize(ims.vo.RefVoBean value)
	{
		this.size = value;
	}
	public String getComment()
	{
		return this.comment;
	}
	public void setComment(String value)
	{
		this.comment = value;
	}
	public ims.vo.LookupInstanceBean getRemovalReason()
	{
		return this.removalreason;
	}
	public void setRemovalReason(ims.vo.LookupInstanceBean value)
	{
		this.removalreason = value;
	}
	public ims.vo.LookupInstanceBean getSentForCulture()
	{
		return this.sentforculture;
	}
	public void setSentForCulture(ims.vo.LookupInstanceBean value)
	{
		this.sentforculture = value;
	}
	public String getResult()
	{
		return this.result;
	}
	public void setResult(String value)
	{
		this.result = value;
	}

	private Integer id;
	private int version;
	private ims.clinicaladmin.vo.beans.InvasiveDeviceConfigShortVoBean invasivedevice;
	private ims.framework.utils.beans.DateTimeBean inserteddatetime;
	private ims.core.vo.beans.HcpLiteVoBean insertedhcp;
	private ims.nursing.vo.beans.PatientInvasiveDeviceVipVoBean[] vipscore;
	private ims.framework.utils.beans.DateTimeBean removaldatetime;
	private ims.core.vo.beans.HcpLiteVoBean removalhcp;
	private ims.framework.utils.beans.DateTimeBean targetremovaldatetime;
	private String site;
	private ims.vo.RefVoBean clinicalcontact;
	private ims.vo.RefVoBean carecontext;
	private ims.core.vo.beans.AuthoringInformationVoBean authoringinformation;
	private ims.vo.RefVoBean type;
	private ims.vo.RefVoBean size;
	private String comment;
	private ims.vo.LookupInstanceBean removalreason;
	private ims.vo.LookupInstanceBean sentforculture;
	private String result;
}
