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

public class SurgicalAuditRecoveryVoBean extends ims.vo.ValueObjectBean
{
	public SurgicalAuditRecoveryVoBean()
	{
	}
	public SurgicalAuditRecoveryVoBean(ims.clinical.vo.SurgicalAuditRecoveryVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().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.recoveryroomnurse = vo.getRecoveryRoomNurse() == null ? null : (ims.core.vo.beans.NurseVoBean)vo.getRecoveryRoomNurse().getBean();
		this.confirmpatientarrival = vo.getConfirmPatientArrival() == null ? null : (ims.vo.LookupInstanceBean)vo.getConfirmPatientArrival().getBean();
		this.timearrivesinrecovery = vo.getTimeArrivesInRecovery() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTimeArrivesInRecovery().getBean();
		this.timewardnotified = vo.getTimeWardNotified() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTimeWardNotified().getBean();
		this.timeleavesrecovery = vo.getTimeLeavesRecovery() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTimeLeavesRecovery().getBean();
		this.sentto = vo.getSentTo() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getSentTo().getBean();
		this.handoverfromrecoverynurse = vo.getHandoverfromRecoveryNurse() == null ? null : (ims.core.vo.beans.NurseVoBean)vo.getHandoverfromRecoveryNurse().getBean();
		this.wardunitnurse = vo.getWardUnitNurse() == null ? null : (ims.core.vo.beans.NurseVoBean)vo.getWardUnitNurse().getBean();
		this.recoverylocumbool = vo.getRecoveryLocumBool();
		this.recoverylocumnurse = vo.getRecoveryLocumNurse();
		this.recoveryhandoverlocumbool = vo.getRecoveryHandoverLocumBool();
		this.recoveryhandoverlocumnurse = vo.getRecoveryHandoverLocumNurse();
		this.wardlocumbool = vo.getWardLocumBool();
		this.wardlocumnurse = vo.getWardLocumNurse();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.SurgicalAuditRecoveryVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().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.recoveryroomnurse = vo.getRecoveryRoomNurse() == null ? null : (ims.core.vo.beans.NurseVoBean)vo.getRecoveryRoomNurse().getBean(map);
		this.confirmpatientarrival = vo.getConfirmPatientArrival() == null ? null : (ims.vo.LookupInstanceBean)vo.getConfirmPatientArrival().getBean();
		this.timearrivesinrecovery = vo.getTimeArrivesInRecovery() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTimeArrivesInRecovery().getBean();
		this.timewardnotified = vo.getTimeWardNotified() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTimeWardNotified().getBean();
		this.timeleavesrecovery = vo.getTimeLeavesRecovery() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getTimeLeavesRecovery().getBean();
		this.sentto = vo.getSentTo() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getSentTo().getBean(map);
		this.handoverfromrecoverynurse = vo.getHandoverfromRecoveryNurse() == null ? null : (ims.core.vo.beans.NurseVoBean)vo.getHandoverfromRecoveryNurse().getBean(map);
		this.wardunitnurse = vo.getWardUnitNurse() == null ? null : (ims.core.vo.beans.NurseVoBean)vo.getWardUnitNurse().getBean(map);
		this.recoverylocumbool = vo.getRecoveryLocumBool();
		this.recoverylocumnurse = vo.getRecoveryLocumNurse();
		this.recoveryhandoverlocumbool = vo.getRecoveryHandoverLocumBool();
		this.recoveryhandoverlocumnurse = vo.getRecoveryHandoverLocumNurse();
		this.wardlocumbool = vo.getWardLocumBool();
		this.wardlocumnurse = vo.getWardLocumNurse();
	}

	public ims.clinical.vo.SurgicalAuditRecoveryVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.clinical.vo.SurgicalAuditRecoveryVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.SurgicalAuditRecoveryVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.SurgicalAuditRecoveryVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.SurgicalAuditRecoveryVo();
			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.vo.RefVoBean getPatient()
	{
		return this.patient;
	}
	public void setPatient(ims.vo.RefVoBean value)
	{
		this.patient = 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.core.vo.beans.NurseVoBean getRecoveryRoomNurse()
	{
		return this.recoveryroomnurse;
	}
	public void setRecoveryRoomNurse(ims.core.vo.beans.NurseVoBean value)
	{
		this.recoveryroomnurse = value;
	}
	public ims.vo.LookupInstanceBean getConfirmPatientArrival()
	{
		return this.confirmpatientarrival;
	}
	public void setConfirmPatientArrival(ims.vo.LookupInstanceBean value)
	{
		this.confirmpatientarrival = value;
	}
	public ims.framework.utils.beans.DateTimeBean getTimeArrivesInRecovery()
	{
		return this.timearrivesinrecovery;
	}
	public void setTimeArrivesInRecovery(ims.framework.utils.beans.DateTimeBean value)
	{
		this.timearrivesinrecovery = value;
	}
	public ims.framework.utils.beans.DateTimeBean getTimeWardNotified()
	{
		return this.timewardnotified;
	}
	public void setTimeWardNotified(ims.framework.utils.beans.DateTimeBean value)
	{
		this.timewardnotified = value;
	}
	public ims.framework.utils.beans.DateTimeBean getTimeLeavesRecovery()
	{
		return this.timeleavesrecovery;
	}
	public void setTimeLeavesRecovery(ims.framework.utils.beans.DateTimeBean value)
	{
		this.timeleavesrecovery = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean getSentTo()
	{
		return this.sentto;
	}
	public void setSentTo(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.sentto = value;
	}
	public ims.core.vo.beans.NurseVoBean getHandoverfromRecoveryNurse()
	{
		return this.handoverfromrecoverynurse;
	}
	public void setHandoverfromRecoveryNurse(ims.core.vo.beans.NurseVoBean value)
	{
		this.handoverfromrecoverynurse = value;
	}
	public ims.core.vo.beans.NurseVoBean getWardUnitNurse()
	{
		return this.wardunitnurse;
	}
	public void setWardUnitNurse(ims.core.vo.beans.NurseVoBean value)
	{
		this.wardunitnurse = value;
	}
	public Boolean getRecoveryLocumBool()
	{
		return this.recoverylocumbool;
	}
	public void setRecoveryLocumBool(Boolean value)
	{
		this.recoverylocumbool = value;
	}
	public String getRecoveryLocumNurse()
	{
		return this.recoverylocumnurse;
	}
	public void setRecoveryLocumNurse(String value)
	{
		this.recoverylocumnurse = value;
	}
	public Boolean getRecoveryHandoverLocumBool()
	{
		return this.recoveryhandoverlocumbool;
	}
	public void setRecoveryHandoverLocumBool(Boolean value)
	{
		this.recoveryhandoverlocumbool = value;
	}
	public String getRecoveryHandoverLocumNurse()
	{
		return this.recoveryhandoverlocumnurse;
	}
	public void setRecoveryHandoverLocumNurse(String value)
	{
		this.recoveryhandoverlocumnurse = value;
	}
	public Boolean getWardLocumBool()
	{
		return this.wardlocumbool;
	}
	public void setWardLocumBool(Boolean value)
	{
		this.wardlocumbool = value;
	}
	public String getWardLocumNurse()
	{
		return this.wardlocumnurse;
	}
	public void setWardLocumNurse(String value)
	{
		this.wardlocumnurse = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean patient;
	private ims.vo.RefVoBean carecontext;
	private ims.core.vo.beans.AuthoringInformationVoBean authoringinformation;
	private ims.core.vo.beans.NurseVoBean recoveryroomnurse;
	private ims.vo.LookupInstanceBean confirmpatientarrival;
	private ims.framework.utils.beans.DateTimeBean timearrivesinrecovery;
	private ims.framework.utils.beans.DateTimeBean timewardnotified;
	private ims.framework.utils.beans.DateTimeBean timeleavesrecovery;
	private ims.core.vo.beans.LocationLiteVoBean sentto;
	private ims.core.vo.beans.NurseVoBean handoverfromrecoverynurse;
	private ims.core.vo.beans.NurseVoBean wardunitnurse;
	private Boolean recoverylocumbool;
	private String recoverylocumnurse;
	private Boolean recoveryhandoverlocumbool;
	private String recoveryhandoverlocumnurse;
	private Boolean wardlocumbool;
	private String wardlocumnurse;
}
