/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/IntraOpCaseStaffDetailsVoBean.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 IntraOpCaseStaffDetailsVoBean extends ims.vo.ValueObjectBean
{
	public IntraOpCaseStaffDetailsVoBean()
	{
	}
	public IntraOpCaseStaffDetailsVoBean(ims.clinical.vo.IntraOpCaseStaffDetailsVo 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.anaesthetictype = vo.getAnaestheticType() == null ? null : (ims.vo.LookupInstanceBean)vo.getAnaestheticType().getBean();
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		this.assistingsurgeons = vo.getAssistingSurgeons() == null ? null : vo.getAssistingSurgeons().getBeanCollection();
		this.scrubpractitioner1 = vo.getScrubPractitioner1() == null ? null : (ims.core.vo.beans.NurseLiteVoBean)vo.getScrubPractitioner1().getBean();
		this.scrubpractitioner2 = vo.getScrubPractitioner2() == null ? null : (ims.core.vo.beans.NurseLiteVoBean)vo.getScrubPractitioner2().getBean();
		this.other = vo.getOther();
		this.circulatorscrubnurseroles = vo.getCirculatorScrubNurseRoles() == null ? null : vo.getCirculatorScrubNurseRoles().getBeanCollection();
		this.displaydiathermyandlaser = vo.getDisplayDiathermyandLaser();
		this.displayirrigationcathetersdrainstubes = vo.getDisplayIrrigationCathetersDrainsTubes();
		this.displayspecimenswoundpackingskinclosure = vo.getDisplaySpecimensWoundPackingSkinClosure();
		this.displayimplantsarterialclampsotherequipment = vo.getDisplayImplantsArterialClampsOtherEquipment();
		this.displaytourniquet = vo.getDisplayTourniquet();
		this.displayrecoverydetails = vo.getDisplayRecoveryDetails();
		this.isrecoveryintheatre = vo.getIsRecoveryInTheatre();
		this.patientassessment = vo.getPatientAssessment() == null ? null : (ims.assessment.vo.beans.Patient_AssessmentVoBean)vo.getPatientAssessment().getBean();
		this.caseservice = vo.getCaseService() == null ? null : new ims.vo.RefVoBean(vo.getCaseService().getBoId(), vo.getCaseService().getBoVersion());
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.IntraOpCaseStaffDetailsVo 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.anaesthetictype = vo.getAnaestheticType() == null ? null : (ims.vo.LookupInstanceBean)vo.getAnaestheticType().getBean();
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		// Interface field type not supported.
		this.assistingsurgeons = vo.getAssistingSurgeons() == null ? null : vo.getAssistingSurgeons().getBeanCollection();
		this.scrubpractitioner1 = vo.getScrubPractitioner1() == null ? null : (ims.core.vo.beans.NurseLiteVoBean)vo.getScrubPractitioner1().getBean(map);
		this.scrubpractitioner2 = vo.getScrubPractitioner2() == null ? null : (ims.core.vo.beans.NurseLiteVoBean)vo.getScrubPractitioner2().getBean(map);
		this.other = vo.getOther();
		this.circulatorscrubnurseroles = vo.getCirculatorScrubNurseRoles() == null ? null : vo.getCirculatorScrubNurseRoles().getBeanCollection();
		this.displaydiathermyandlaser = vo.getDisplayDiathermyandLaser();
		this.displayirrigationcathetersdrainstubes = vo.getDisplayIrrigationCathetersDrainsTubes();
		this.displayspecimenswoundpackingskinclosure = vo.getDisplaySpecimensWoundPackingSkinClosure();
		this.displayimplantsarterialclampsotherequipment = vo.getDisplayImplantsArterialClampsOtherEquipment();
		this.displaytourniquet = vo.getDisplayTourniquet();
		this.displayrecoverydetails = vo.getDisplayRecoveryDetails();
		this.isrecoveryintheatre = vo.getIsRecoveryInTheatre();
		this.patientassessment = vo.getPatientAssessment() == null ? null : (ims.assessment.vo.beans.Patient_AssessmentVoBean)vo.getPatientAssessment().getBean(map);
		this.caseservice = vo.getCaseService() == null ? null : new ims.vo.RefVoBean(vo.getCaseService().getBoId(), vo.getCaseService().getBoVersion());
	}

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

	public ims.clinical.vo.IntraOpCaseStaffDetailsVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.IntraOpCaseStaffDetailsVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.IntraOpCaseStaffDetailsVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.IntraOpCaseStaffDetailsVo();
			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 ims.vo.LookupInstanceBean getAnaestheticType()
	{
		return this.anaesthetictype;
	}
	public void setAnaestheticType(ims.vo.LookupInstanceBean value)
	{
		this.anaesthetictype = value;
	}
	public ims.core.vo.beans.MedicLiteVoBean[] getAssistingSurgeons()
	{
		return this.assistingsurgeons;
	}
	public void setAssistingSurgeons(ims.core.vo.beans.MedicLiteVoBean[] value)
	{
		this.assistingsurgeons = value;
	}
	public ims.core.vo.beans.NurseLiteVoBean getScrubPractitioner1()
	{
		return this.scrubpractitioner1;
	}
	public void setScrubPractitioner1(ims.core.vo.beans.NurseLiteVoBean value)
	{
		this.scrubpractitioner1 = value;
	}
	public ims.core.vo.beans.NurseLiteVoBean getScrubPractitioner2()
	{
		return this.scrubpractitioner2;
	}
	public void setScrubPractitioner2(ims.core.vo.beans.NurseLiteVoBean value)
	{
		this.scrubpractitioner2 = value;
	}
	public String getOther()
	{
		return this.other;
	}
	public void setOther(String value)
	{
		this.other = value;
	}
	public ims.clinical.vo.beans.CirculatorScrubNurseRoleVoBean[] getCirculatorScrubNurseRoles()
	{
		return this.circulatorscrubnurseroles;
	}
	public void setCirculatorScrubNurseRoles(ims.clinical.vo.beans.CirculatorScrubNurseRoleVoBean[] value)
	{
		this.circulatorscrubnurseroles = value;
	}
	public Boolean getDisplayDiathermyandLaser()
	{
		return this.displaydiathermyandlaser;
	}
	public void setDisplayDiathermyandLaser(Boolean value)
	{
		this.displaydiathermyandlaser = value;
	}
	public Boolean getDisplayIrrigationCathetersDrainsTubes()
	{
		return this.displayirrigationcathetersdrainstubes;
	}
	public void setDisplayIrrigationCathetersDrainsTubes(Boolean value)
	{
		this.displayirrigationcathetersdrainstubes = value;
	}
	public Boolean getDisplaySpecimensWoundPackingSkinClosure()
	{
		return this.displayspecimenswoundpackingskinclosure;
	}
	public void setDisplaySpecimensWoundPackingSkinClosure(Boolean value)
	{
		this.displayspecimenswoundpackingskinclosure = value;
	}
	public Boolean getDisplayImplantsArterialClampsOtherEquipment()
	{
		return this.displayimplantsarterialclampsotherequipment;
	}
	public void setDisplayImplantsArterialClampsOtherEquipment(Boolean value)
	{
		this.displayimplantsarterialclampsotherequipment = value;
	}
	public Boolean getDisplayTourniquet()
	{
		return this.displaytourniquet;
	}
	public void setDisplayTourniquet(Boolean value)
	{
		this.displaytourniquet = value;
	}
	public Boolean getDisplayRecoveryDetails()
	{
		return this.displayrecoverydetails;
	}
	public void setDisplayRecoveryDetails(Boolean value)
	{
		this.displayrecoverydetails = value;
	}
	public Boolean getIsRecoveryInTheatre()
	{
		return this.isrecoveryintheatre;
	}
	public void setIsRecoveryInTheatre(Boolean value)
	{
		this.isrecoveryintheatre = value;
	}
	public ims.assessment.vo.beans.Patient_AssessmentVoBean getPatientAssessment()
	{
		return this.patientassessment;
	}
	public void setPatientAssessment(ims.assessment.vo.beans.Patient_AssessmentVoBean value)
	{
		this.patientassessment = value;
	}
	public ims.vo.RefVoBean getCaseService()
	{
		return this.caseservice;
	}
	public void setCaseService(ims.vo.RefVoBean value)
	{
		this.caseservice = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean theatreappointment;
	private ims.vo.LookupInstanceBean anaesthetictype;
	private ims.core.vo.beans.MedicLiteVoBean[] assistingsurgeons;
	private ims.core.vo.beans.NurseLiteVoBean scrubpractitioner1;
	private ims.core.vo.beans.NurseLiteVoBean scrubpractitioner2;
	private String other;
	private ims.clinical.vo.beans.CirculatorScrubNurseRoleVoBean[] circulatorscrubnurseroles;
	private Boolean displaydiathermyandlaser;
	private Boolean displayirrigationcathetersdrainstubes;
	private Boolean displayspecimenswoundpackingskinclosure;
	private Boolean displayimplantsarterialclampsotherequipment;
	private Boolean displaytourniquet;
	private Boolean displayrecoverydetails;
	private Boolean isrecoveryintheatre;
	private ims.assessment.vo.beans.Patient_AssessmentVoBean patientassessment;
	private ims.vo.RefVoBean caseservice;
}
