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

public class TeletherapyDetailsVoBean extends ims.vo.ValueObjectBean
{
	public TeletherapyDetailsVoBean()
	{
	}
	public TeletherapyDetailsVoBean(ims.oncology.vo.TeletherapyDetailsVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.actualdose = vo.getActualDose();
		this.actualfractions = vo.getActualFractions();
		this.beamtype = vo.getBeamType() == null ? null : (ims.vo.LookupInstanceBean)vo.getBeamType().getBean();
		this.beamenergy = vo.getBeamEnergy() == null ? null : (ims.vo.LookupInstanceBean)vo.getBeamEnergy().getBean();
		this.nooffields = vo.getNoOfFields() == null ? null : (ims.vo.LookupInstanceBean)vo.getNoOfFields().getBean();
		this.complexitygroup = vo.getComplexityGroup() == null ? null : (ims.vo.LookupInstanceBean)vo.getComplexityGroup().getBean();
		this.multipleplanning = vo.getMultiplePlanning() == null ? null : (ims.vo.LookupInstanceBean)vo.getMultiplePlanning().getBean();
		this.hyperfractionation = vo.getHyperfractionation() == null ? null : (ims.vo.LookupInstanceBean)vo.getHyperfractionation().getBean();
		this.phasedetails = vo.getPhaseDetails() == null ? null : vo.getPhaseDetails().getBeanCollection();
		this.perscriptionpoint = vo.getPerscriptionPoint();
		this.actualphases = vo.getActualPhases();
		this.anterior = vo.getAnterior() == null ? null : (ims.vo.LookupInstanceBean)vo.getAnterior().getBean();
		this.anteriordose = vo.getAnteriorDose();
		this.anteriorfractions = vo.getAnteriorFractions();
		this.hasadjacentfields = vo.getHasAdjacentFields() == null ? null : (ims.vo.LookupInstanceBean)vo.getHasAdjacentFields().getBean();
		this.adjacentfielddetails = vo.getAdjacentFieldDetails() == null ? null : vo.getAdjacentFieldDetails().getBeanCollection();
		this.retreatment = vo.getRetreatment() == null ? null : (ims.vo.LookupInstanceBean)vo.getRetreatment().getBean();
		this.specialtechnique = vo.getSpecialTechnique() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialTechnique().getBean();
		this.preoperative = vo.getPreoperative() == null ? null : (ims.vo.LookupInstanceBean)vo.getPreoperative().getBean();
		this.generalanaesthetic = vo.getGeneralAnaesthetic() == null ? null : (ims.vo.LookupInstanceBean)vo.getGeneralAnaesthetic().getBean();
		this.actualduration = vo.getActualDuration();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.oncology.vo.TeletherapyDetailsVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.actualdose = vo.getActualDose();
		this.actualfractions = vo.getActualFractions();
		this.beamtype = vo.getBeamType() == null ? null : (ims.vo.LookupInstanceBean)vo.getBeamType().getBean();
		this.beamenergy = vo.getBeamEnergy() == null ? null : (ims.vo.LookupInstanceBean)vo.getBeamEnergy().getBean();
		this.nooffields = vo.getNoOfFields() == null ? null : (ims.vo.LookupInstanceBean)vo.getNoOfFields().getBean();
		this.complexitygroup = vo.getComplexityGroup() == null ? null : (ims.vo.LookupInstanceBean)vo.getComplexityGroup().getBean();
		this.multipleplanning = vo.getMultiplePlanning() == null ? null : (ims.vo.LookupInstanceBean)vo.getMultiplePlanning().getBean();
		this.hyperfractionation = vo.getHyperfractionation() == null ? null : (ims.vo.LookupInstanceBean)vo.getHyperfractionation().getBean();
		this.phasedetails = vo.getPhaseDetails() == null ? null : vo.getPhaseDetails().getBeanCollection();
		this.perscriptionpoint = vo.getPerscriptionPoint();
		this.actualphases = vo.getActualPhases();
		this.anterior = vo.getAnterior() == null ? null : (ims.vo.LookupInstanceBean)vo.getAnterior().getBean();
		this.anteriordose = vo.getAnteriorDose();
		this.anteriorfractions = vo.getAnteriorFractions();
		this.hasadjacentfields = vo.getHasAdjacentFields() == null ? null : (ims.vo.LookupInstanceBean)vo.getHasAdjacentFields().getBean();
		this.adjacentfielddetails = vo.getAdjacentFieldDetails() == null ? null : vo.getAdjacentFieldDetails().getBeanCollection();
		this.retreatment = vo.getRetreatment() == null ? null : (ims.vo.LookupInstanceBean)vo.getRetreatment().getBean();
		this.specialtechnique = vo.getSpecialTechnique() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialTechnique().getBean();
		this.preoperative = vo.getPreoperative() == null ? null : (ims.vo.LookupInstanceBean)vo.getPreoperative().getBean();
		this.generalanaesthetic = vo.getGeneralAnaesthetic() == null ? null : (ims.vo.LookupInstanceBean)vo.getGeneralAnaesthetic().getBean();
		this.actualduration = vo.getActualDuration();
	}

	public ims.oncology.vo.TeletherapyDetailsVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.oncology.vo.TeletherapyDetailsVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.oncology.vo.TeletherapyDetailsVo vo = null;
		if(map != null)
			vo = (ims.oncology.vo.TeletherapyDetailsVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.oncology.vo.TeletherapyDetailsVo();
			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 Float getActualDose()
	{
		return this.actualdose;
	}
	public void setActualDose(Float value)
	{
		this.actualdose = value;
	}
	public Integer getActualFractions()
	{
		return this.actualfractions;
	}
	public void setActualFractions(Integer value)
	{
		this.actualfractions = value;
	}
	public ims.vo.LookupInstanceBean getBeamType()
	{
		return this.beamtype;
	}
	public void setBeamType(ims.vo.LookupInstanceBean value)
	{
		this.beamtype = value;
	}
	public ims.vo.LookupInstanceBean getBeamEnergy()
	{
		return this.beamenergy;
	}
	public void setBeamEnergy(ims.vo.LookupInstanceBean value)
	{
		this.beamenergy = value;
	}
	public ims.vo.LookupInstanceBean getNoOfFields()
	{
		return this.nooffields;
	}
	public void setNoOfFields(ims.vo.LookupInstanceBean value)
	{
		this.nooffields = value;
	}
	public ims.vo.LookupInstanceBean getComplexityGroup()
	{
		return this.complexitygroup;
	}
	public void setComplexityGroup(ims.vo.LookupInstanceBean value)
	{
		this.complexitygroup = value;
	}
	public ims.vo.LookupInstanceBean getMultiplePlanning()
	{
		return this.multipleplanning;
	}
	public void setMultiplePlanning(ims.vo.LookupInstanceBean value)
	{
		this.multipleplanning = value;
	}
	public ims.vo.LookupInstanceBean getHyperfractionation()
	{
		return this.hyperfractionation;
	}
	public void setHyperfractionation(ims.vo.LookupInstanceBean value)
	{
		this.hyperfractionation = value;
	}
	public ims.oncology.vo.beans.TeletherapyPhaseVoBean[] getPhaseDetails()
	{
		return this.phasedetails;
	}
	public void setPhaseDetails(ims.oncology.vo.beans.TeletherapyPhaseVoBean[] value)
	{
		this.phasedetails = value;
	}
	public Integer getPerscriptionPoint()
	{
		return this.perscriptionpoint;
	}
	public void setPerscriptionPoint(Integer value)
	{
		this.perscriptionpoint = value;
	}
	public Integer getActualPhases()
	{
		return this.actualphases;
	}
	public void setActualPhases(Integer value)
	{
		this.actualphases = value;
	}
	public ims.vo.LookupInstanceBean getAnterior()
	{
		return this.anterior;
	}
	public void setAnterior(ims.vo.LookupInstanceBean value)
	{
		this.anterior = value;
	}
	public Float getAnteriorDose()
	{
		return this.anteriordose;
	}
	public void setAnteriorDose(Float value)
	{
		this.anteriordose = value;
	}
	public Integer getAnteriorFractions()
	{
		return this.anteriorfractions;
	}
	public void setAnteriorFractions(Integer value)
	{
		this.anteriorfractions = value;
	}
	public ims.vo.LookupInstanceBean getHasAdjacentFields()
	{
		return this.hasadjacentfields;
	}
	public void setHasAdjacentFields(ims.vo.LookupInstanceBean value)
	{
		this.hasadjacentfields = value;
	}
	public ims.oncology.vo.beans.AdjacentFieldPhaseVoBean[] getAdjacentFieldDetails()
	{
		return this.adjacentfielddetails;
	}
	public void setAdjacentFieldDetails(ims.oncology.vo.beans.AdjacentFieldPhaseVoBean[] value)
	{
		this.adjacentfielddetails = value;
	}
	public ims.vo.LookupInstanceBean getRetreatment()
	{
		return this.retreatment;
	}
	public void setRetreatment(ims.vo.LookupInstanceBean value)
	{
		this.retreatment = value;
	}
	public ims.vo.LookupInstanceBean getSpecialTechnique()
	{
		return this.specialtechnique;
	}
	public void setSpecialTechnique(ims.vo.LookupInstanceBean value)
	{
		this.specialtechnique = value;
	}
	public ims.vo.LookupInstanceBean getPreoperative()
	{
		return this.preoperative;
	}
	public void setPreoperative(ims.vo.LookupInstanceBean value)
	{
		this.preoperative = value;
	}
	public ims.vo.LookupInstanceBean getGeneralAnaesthetic()
	{
		return this.generalanaesthetic;
	}
	public void setGeneralAnaesthetic(ims.vo.LookupInstanceBean value)
	{
		this.generalanaesthetic = value;
	}
	public Integer getActualDuration()
	{
		return this.actualduration;
	}
	public void setActualDuration(Integer value)
	{
		this.actualduration = value;
	}

	private Integer id;
	private int version;
	private Float actualdose;
	private Integer actualfractions;
	private ims.vo.LookupInstanceBean beamtype;
	private ims.vo.LookupInstanceBean beamenergy;
	private ims.vo.LookupInstanceBean nooffields;
	private ims.vo.LookupInstanceBean complexitygroup;
	private ims.vo.LookupInstanceBean multipleplanning;
	private ims.vo.LookupInstanceBean hyperfractionation;
	private ims.oncology.vo.beans.TeletherapyPhaseVoBean[] phasedetails;
	private Integer perscriptionpoint;
	private Integer actualphases;
	private ims.vo.LookupInstanceBean anterior;
	private Float anteriordose;
	private Integer anteriorfractions;
	private ims.vo.LookupInstanceBean hasadjacentfields;
	private ims.oncology.vo.beans.AdjacentFieldPhaseVoBean[] adjacentfielddetails;
	private ims.vo.LookupInstanceBean retreatment;
	private ims.vo.LookupInstanceBean specialtechnique;
	private ims.vo.LookupInstanceBean preoperative;
	private ims.vo.LookupInstanceBean generalanaesthetic;
	private Integer actualduration;
}
