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

public class FluidBalanceInstanceVoBean extends ims.vo.ValueObjectBean
{
	public FluidBalanceInstanceVoBean()
	{
	}
	public FluidBalanceInstanceVoBean(ims.core.vo.FluidBalanceInstanceVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.totalintake = vo.getTotalIntake();
		this.totaloutput = vo.getTotalOutput();
		this.balance = vo.getBalance();
		this.fluidintake = vo.getFluidIntake() == null ? null : vo.getFluidIntake().getBeanCollection();
		this.fluidoutput = vo.getFluidOutput() == null ? null : vo.getFluidOutput().getBeanCollection();
		this.ventilationchart = vo.getVentilationChart() == null ? null : (ims.core.vo.beans.VSVentilationChartVoBean)vo.getVentilationChart().getBean();
		this.fluidbalancedate = vo.getFluidBalanceDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getFluidBalanceDate().getBean();
		this.starttime = vo.getStartTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getStartTime().getBean();
		this.systeminfo = vo.getSystemInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSystemInfo().getBean();
		this.comments = vo.getComments();
		this.confirmingdatetime = vo.getConfirmingDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getConfirmingDateTime().getBean();
		this.confirminghcp = vo.getConfirmingHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getConfirmingHCP().getBean();
		this.isconfirmed = vo.getIsConfirmed();
		this.irrigationin = vo.getIrrigationIn();
		this.irrigationout = vo.getIrrigationOut();
		this.timeperiod = vo.getTimePeriod() == null ? null : (ims.vo.LookupInstanceBean)vo.getTimePeriod().getBean();
		this.signatoryshift = vo.getSignatoryShift() == null ? null : new ims.vo.RefVoBean(vo.getSignatoryShift().getBoId(), vo.getSignatoryShift().getBoVersion());
		this.endtime = vo.getEndTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getEndTime().getBean();
		this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInformation().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.FluidBalanceInstanceVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.totalintake = vo.getTotalIntake();
		this.totaloutput = vo.getTotalOutput();
		this.balance = vo.getBalance();
		this.fluidintake = vo.getFluidIntake() == null ? null : vo.getFluidIntake().getBeanCollection();
		this.fluidoutput = vo.getFluidOutput() == null ? null : vo.getFluidOutput().getBeanCollection();
		this.ventilationchart = vo.getVentilationChart() == null ? null : (ims.core.vo.beans.VSVentilationChartVoBean)vo.getVentilationChart().getBean(map);
		this.fluidbalancedate = vo.getFluidBalanceDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getFluidBalanceDate().getBean();
		this.starttime = vo.getStartTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getStartTime().getBean();
		this.systeminfo = vo.getSystemInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSystemInfo().getBean();
		this.comments = vo.getComments();
		this.confirmingdatetime = vo.getConfirmingDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getConfirmingDateTime().getBean();
		this.confirminghcp = vo.getConfirmingHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getConfirmingHCP().getBean(map);
		this.isconfirmed = vo.getIsConfirmed();
		this.irrigationin = vo.getIrrigationIn();
		this.irrigationout = vo.getIrrigationOut();
		this.timeperiod = vo.getTimePeriod() == null ? null : (ims.vo.LookupInstanceBean)vo.getTimePeriod().getBean();
		this.signatoryshift = vo.getSignatoryShift() == null ? null : new ims.vo.RefVoBean(vo.getSignatoryShift().getBoId(), vo.getSignatoryShift().getBoVersion());
		this.endtime = vo.getEndTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getEndTime().getBean();
		this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInformation().getBean(map);
	}

	public ims.core.vo.FluidBalanceInstanceVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.core.vo.FluidBalanceInstanceVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.core.vo.FluidBalanceInstanceVo vo = null;
		if(map != null)
			vo = (ims.core.vo.FluidBalanceInstanceVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.core.vo.FluidBalanceInstanceVo();
			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 Integer getTotalIntake()
	{
		return this.totalintake;
	}
	public void setTotalIntake(Integer value)
	{
		this.totalintake = value;
	}
	public Integer getTotalOutput()
	{
		return this.totaloutput;
	}
	public void setTotalOutput(Integer value)
	{
		this.totaloutput = value;
	}
	public Integer getBalance()
	{
		return this.balance;
	}
	public void setBalance(Integer value)
	{
		this.balance = value;
	}
	public ims.core.vo.beans.FluidBalanceDetailsVoBean[] getFluidIntake()
	{
		return this.fluidintake;
	}
	public void setFluidIntake(ims.core.vo.beans.FluidBalanceDetailsVoBean[] value)
	{
		this.fluidintake = value;
	}
	public ims.core.vo.beans.FluidBalanceDetailsVoBean[] getFluidOutput()
	{
		return this.fluidoutput;
	}
	public void setFluidOutput(ims.core.vo.beans.FluidBalanceDetailsVoBean[] value)
	{
		this.fluidoutput = value;
	}
	public ims.core.vo.beans.VSVentilationChartVoBean getVentilationChart()
	{
		return this.ventilationchart;
	}
	public void setVentilationChart(ims.core.vo.beans.VSVentilationChartVoBean value)
	{
		this.ventilationchart = value;
	}
	public ims.framework.utils.beans.DateBean getFluidBalanceDate()
	{
		return this.fluidbalancedate;
	}
	public void setFluidBalanceDate(ims.framework.utils.beans.DateBean value)
	{
		this.fluidbalancedate = value;
	}
	public ims.framework.utils.beans.TimeBean getStartTime()
	{
		return this.starttime;
	}
	public void setStartTime(ims.framework.utils.beans.TimeBean value)
	{
		this.starttime = value;
	}
	public ims.vo.SysInfoBean getSystemInfo()
	{
		return this.systeminfo;
	}
	public void setSystemInfo(ims.vo.SysInfoBean value)
	{
		this.systeminfo = value;
	}
	public String getComments()
	{
		return this.comments;
	}
	public void setComments(String value)
	{
		this.comments = value;
	}
	public ims.framework.utils.beans.DateTimeBean getConfirmingDateTime()
	{
		return this.confirmingdatetime;
	}
	public void setConfirmingDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.confirmingdatetime = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getConfirmingHCP()
	{
		return this.confirminghcp;
	}
	public void setConfirmingHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.confirminghcp = value;
	}
	public Boolean getIsConfirmed()
	{
		return this.isconfirmed;
	}
	public void setIsConfirmed(Boolean value)
	{
		this.isconfirmed = value;
	}
	public Integer getIrrigationIn()
	{
		return this.irrigationin;
	}
	public void setIrrigationIn(Integer value)
	{
		this.irrigationin = value;
	}
	public Integer getIrrigationOut()
	{
		return this.irrigationout;
	}
	public void setIrrigationOut(Integer value)
	{
		this.irrigationout = value;
	}
	public ims.vo.LookupInstanceBean getTimePeriod()
	{
		return this.timeperiod;
	}
	public void setTimePeriod(ims.vo.LookupInstanceBean value)
	{
		this.timeperiod = value;
	}
	public ims.vo.RefVoBean getSignatoryShift()
	{
		return this.signatoryshift;
	}
	public void setSignatoryShift(ims.vo.RefVoBean value)
	{
		this.signatoryshift = value;
	}
	public ims.framework.utils.beans.TimeBean getEndTime()
	{
		return this.endtime;
	}
	public void setEndTime(ims.framework.utils.beans.TimeBean value)
	{
		this.endtime = value;
	}
	public ims.core.vo.beans.AuthoringInformationVoBean getAuthoringInformation()
	{
		return this.authoringinformation;
	}
	public void setAuthoringInformation(ims.core.vo.beans.AuthoringInformationVoBean value)
	{
		this.authoringinformation = value;
	}

	private Integer id;
	private int version;
	private Integer totalintake;
	private Integer totaloutput;
	private Integer balance;
	private ims.core.vo.beans.FluidBalanceDetailsVoBean[] fluidintake;
	private ims.core.vo.beans.FluidBalanceDetailsVoBean[] fluidoutput;
	private ims.core.vo.beans.VSVentilationChartVoBean ventilationchart;
	private ims.framework.utils.beans.DateBean fluidbalancedate;
	private ims.framework.utils.beans.TimeBean starttime;
	private ims.vo.SysInfoBean systeminfo;
	private String comments;
	private ims.framework.utils.beans.DateTimeBean confirmingdatetime;
	private ims.core.vo.beans.HcpLiteVoBean confirminghcp;
	private Boolean isconfirmed;
	private Integer irrigationin;
	private Integer irrigationout;
	private ims.vo.LookupInstanceBean timeperiod;
	private ims.vo.RefVoBean signatoryshift;
	private ims.framework.utils.beans.TimeBean endtime;
	private ims.core.vo.beans.AuthoringInformationVoBean authoringinformation;
}
