/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/PatientPreperationIntraOpVoBean.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 PatientPreperationIntraOpVoBean extends ims.vo.ValueObjectBean
{
	public PatientPreperationIntraOpVoBean()
	{
	}
	public PatientPreperationIntraOpVoBean(ims.clinical.vo.PatientPreperationIntraOpVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.theatreappointment = vo.getTheatreAppointment() == null ? null : new ims.vo.RefVoBean(vo.getTheatreAppointment().getBoId(), vo.getTheatreAppointment().getBoVersion());
		this.patientpreparation = vo.getPatientPreparation() == null ? null : vo.getPatientPreparation().getBeanCollection();
		this.otherdetails = vo.getOtherDetails();
		this.skinintegritymaintained = vo.getSkinIntegrityMaintained() == null ? null : (ims.vo.LookupInstanceBean)vo.getSkinIntegrityMaintained().getBean();
		this.patienttransfertooperatingtablevia = vo.getPatientTransferToOperatingTableVia() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientTransferToOperatingTableVia().getBean();
		this.patienttransferfromoperatingtablevia1 = vo.getPatientTransferFromOperatingTableVia1() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientTransferFromOperatingTableVia1().getBean();
		this.bodyposition = vo.getBodyPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getBodyPosition().getBean();
		this.leftarmposition = vo.getLeftArmPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getLeftArmPosition().getBean();
		this.rightarmposition = vo.getRightArmPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getRightArmPosition().getBean();
		this.leftlegposition = vo.getLeftLegPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getLeftLegPosition().getBean();
		this.rightlegposition = vo.getRightLegPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getRightLegPosition().getBean();
		this.waspatientwarmed = vo.getWasPatientWarmed() == null ? null : (ims.vo.LookupInstanceBean)vo.getWasPatientWarmed().getBean();
		this.fluidwarmerused = vo.getFluidWarmerUsed() == null ? null : (ims.vo.LookupInstanceBean)vo.getFluidWarmerUsed().getBean();
		this.warmingblanketused = vo.getWarmingBlanketUsed() == null ? null : (ims.vo.LookupInstanceBean)vo.getWarmingBlanketUsed().getBean();
		this.positioningdevices = vo.getPositioningDevices() == null ? null : vo.getPositioningDevices().getBeanCollection();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.PatientPreperationIntraOpVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.theatreappointment = vo.getTheatreAppointment() == null ? null : new ims.vo.RefVoBean(vo.getTheatreAppointment().getBoId(), vo.getTheatreAppointment().getBoVersion());
		this.patientpreparation = vo.getPatientPreparation() == null ? null : vo.getPatientPreparation().getBeanCollection();
		this.otherdetails = vo.getOtherDetails();
		this.skinintegritymaintained = vo.getSkinIntegrityMaintained() == null ? null : (ims.vo.LookupInstanceBean)vo.getSkinIntegrityMaintained().getBean();
		this.patienttransfertooperatingtablevia = vo.getPatientTransferToOperatingTableVia() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientTransferToOperatingTableVia().getBean();
		this.patienttransferfromoperatingtablevia1 = vo.getPatientTransferFromOperatingTableVia1() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientTransferFromOperatingTableVia1().getBean();
		this.bodyposition = vo.getBodyPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getBodyPosition().getBean();
		this.leftarmposition = vo.getLeftArmPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getLeftArmPosition().getBean();
		this.rightarmposition = vo.getRightArmPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getRightArmPosition().getBean();
		this.leftlegposition = vo.getLeftLegPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getLeftLegPosition().getBean();
		this.rightlegposition = vo.getRightLegPosition() == null ? null : (ims.vo.LookupInstanceBean)vo.getRightLegPosition().getBean();
		this.waspatientwarmed = vo.getWasPatientWarmed() == null ? null : (ims.vo.LookupInstanceBean)vo.getWasPatientWarmed().getBean();
		this.fluidwarmerused = vo.getFluidWarmerUsed() == null ? null : (ims.vo.LookupInstanceBean)vo.getFluidWarmerUsed().getBean();
		this.warmingblanketused = vo.getWarmingBlanketUsed() == null ? null : (ims.vo.LookupInstanceBean)vo.getWarmingBlanketUsed().getBean();
		this.positioningdevices = vo.getPositioningDevices() == null ? null : vo.getPositioningDevices().getBeanCollection();
	}

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

	public ims.clinical.vo.PatientPreperationIntraOpVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.PatientPreperationIntraOpVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.PatientPreperationIntraOpVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.PatientPreperationIntraOpVo();
			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 getTheatreAppointment()
	{
		return this.theatreappointment;
	}
	public void setTheatreAppointment(ims.vo.RefVoBean value)
	{
		this.theatreappointment = value;
	}
	public java.util.Collection getPatientPreparation()
	{
		return this.patientpreparation;
	}
	public void setPatientPreparation(java.util.Collection value)
	{
		this.patientpreparation = value;
	}
	public void addPatientPreparation(java.util.Collection value)
	{
		if(this.patientpreparation == null)
			this.patientpreparation = new java.util.ArrayList();
		this.patientpreparation.add(value);
	}
	public String getOtherDetails()
	{
		return this.otherdetails;
	}
	public void setOtherDetails(String value)
	{
		this.otherdetails = value;
	}
	public ims.vo.LookupInstanceBean getSkinIntegrityMaintained()
	{
		return this.skinintegritymaintained;
	}
	public void setSkinIntegrityMaintained(ims.vo.LookupInstanceBean value)
	{
		this.skinintegritymaintained = value;
	}
	public ims.vo.LookupInstanceBean getPatientTransferToOperatingTableVia()
	{
		return this.patienttransfertooperatingtablevia;
	}
	public void setPatientTransferToOperatingTableVia(ims.vo.LookupInstanceBean value)
	{
		this.patienttransfertooperatingtablevia = value;
	}
	public ims.vo.LookupInstanceBean getPatientTransferFromOperatingTableVia1()
	{
		return this.patienttransferfromoperatingtablevia1;
	}
	public void setPatientTransferFromOperatingTableVia1(ims.vo.LookupInstanceBean value)
	{
		this.patienttransferfromoperatingtablevia1 = value;
	}
	public ims.vo.LookupInstanceBean getBodyPosition()
	{
		return this.bodyposition;
	}
	public void setBodyPosition(ims.vo.LookupInstanceBean value)
	{
		this.bodyposition = value;
	}
	public ims.vo.LookupInstanceBean getLeftArmPosition()
	{
		return this.leftarmposition;
	}
	public void setLeftArmPosition(ims.vo.LookupInstanceBean value)
	{
		this.leftarmposition = value;
	}
	public ims.vo.LookupInstanceBean getRightArmPosition()
	{
		return this.rightarmposition;
	}
	public void setRightArmPosition(ims.vo.LookupInstanceBean value)
	{
		this.rightarmposition = value;
	}
	public ims.vo.LookupInstanceBean getLeftLegPosition()
	{
		return this.leftlegposition;
	}
	public void setLeftLegPosition(ims.vo.LookupInstanceBean value)
	{
		this.leftlegposition = value;
	}
	public ims.vo.LookupInstanceBean getRightLegPosition()
	{
		return this.rightlegposition;
	}
	public void setRightLegPosition(ims.vo.LookupInstanceBean value)
	{
		this.rightlegposition = value;
	}
	public ims.vo.LookupInstanceBean getWasPatientWarmed()
	{
		return this.waspatientwarmed;
	}
	public void setWasPatientWarmed(ims.vo.LookupInstanceBean value)
	{
		this.waspatientwarmed = value;
	}
	public ims.vo.LookupInstanceBean getFluidWarmerUsed()
	{
		return this.fluidwarmerused;
	}
	public void setFluidWarmerUsed(ims.vo.LookupInstanceBean value)
	{
		this.fluidwarmerused = value;
	}
	public ims.vo.LookupInstanceBean getWarmingBlanketUsed()
	{
		return this.warmingblanketused;
	}
	public void setWarmingBlanketUsed(ims.vo.LookupInstanceBean value)
	{
		this.warmingblanketused = value;
	}
	public java.util.Collection getPositioningDevices()
	{
		return this.positioningdevices;
	}
	public void setPositioningDevices(java.util.Collection value)
	{
		this.positioningdevices = value;
	}
	public void addPositioningDevices(java.util.Collection value)
	{
		if(this.positioningdevices == null)
			this.positioningdevices = new java.util.ArrayList();
		this.positioningdevices.add(value);
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean theatreappointment;
	private java.util.Collection patientpreparation;
	private String otherdetails;
	private ims.vo.LookupInstanceBean skinintegritymaintained;
	private ims.vo.LookupInstanceBean patienttransfertooperatingtablevia;
	private ims.vo.LookupInstanceBean patienttransferfromoperatingtablevia1;
	private ims.vo.LookupInstanceBean bodyposition;
	private ims.vo.LookupInstanceBean leftarmposition;
	private ims.vo.LookupInstanceBean rightarmposition;
	private ims.vo.LookupInstanceBean leftlegposition;
	private ims.vo.LookupInstanceBean rightlegposition;
	private ims.vo.LookupInstanceBean waspatientwarmed;
	private ims.vo.LookupInstanceBean fluidwarmerused;
	private ims.vo.LookupInstanceBean warmingblanketused;
	private java.util.Collection positioningdevices;
}
