/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/AcuteTheatreListFilterVoBean.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 AcuteTheatreListFilterVoBean extends ims.vo.ValueObjectBean
{
	public AcuteTheatreListFilterVoBean()
	{
	}
	public AcuteTheatreListFilterVoBean(ims.clinical.vo.AcuteTheatreListFilterVo vo)
	{
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocShortMappingsVoBean)vo.getHospital().getBean();
		this.listowner = vo.getListowner() == null ? null : new ims.vo.RefVoBean(vo.getListowner().getBoId(), vo.getListowner().getBoVersion());
		this.sessiondate = vo.getSessionDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getSessionDate().getBean();
		this.profile = vo.getProfile() == null ? null : (ims.scheduling.vo.beans.SessionShortVoBean)vo.getProfile().getBean();
		this.sessiontype = vo.getSessionType() == null ? null : (ims.vo.LookupInstanceBean)vo.getSessionType().getBean();
		this.wastimeron = vo.getWasTimerOn();
		this.listtype = vo.getListType() == null ? null : (ims.vo.LookupInstanceBean)vo.getListType().getBean();
		this.theatrelocation = vo.getTheatreLocation() == null ? null : (ims.core.vo.beans.LocShortMappingsVoBean)vo.getTheatreLocation().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.AcuteTheatreListFilterVo vo)
	{
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocShortMappingsVoBean)vo.getHospital().getBean(map);
		this.listowner = vo.getListowner() == null ? null : new ims.vo.RefVoBean(vo.getListowner().getBoId(), vo.getListowner().getBoVersion());
		this.sessiondate = vo.getSessionDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getSessionDate().getBean();
		this.profile = vo.getProfile() == null ? null : (ims.scheduling.vo.beans.SessionShortVoBean)vo.getProfile().getBean(map);
		this.sessiontype = vo.getSessionType() == null ? null : (ims.vo.LookupInstanceBean)vo.getSessionType().getBean();
		this.wastimeron = vo.getWasTimerOn();
		this.listtype = vo.getListType() == null ? null : (ims.vo.LookupInstanceBean)vo.getListType().getBean();
		this.theatrelocation = vo.getTheatreLocation() == null ? null : (ims.core.vo.beans.LocShortMappingsVoBean)vo.getTheatreLocation().getBean(map);
	}

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

	public ims.clinical.vo.AcuteTheatreListFilterVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.AcuteTheatreListFilterVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.AcuteTheatreListFilterVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.AcuteTheatreListFilterVo();
			map.addValueObject(this, vo);
			vo.populate(map, this);
		}
		return vo;
	}

	public ims.core.vo.beans.LocShortMappingsVoBean getHospital()
	{
		return this.hospital;
	}
	public void setHospital(ims.core.vo.beans.LocShortMappingsVoBean value)
	{
		this.hospital = value;
	}
	public ims.vo.RefVoBean getListowner()
	{
		return this.listowner;
	}
	public void setListowner(ims.vo.RefVoBean value)
	{
		this.listowner = value;
	}
	public ims.framework.utils.beans.DateBean getSessionDate()
	{
		return this.sessiondate;
	}
	public void setSessionDate(ims.framework.utils.beans.DateBean value)
	{
		this.sessiondate = value;
	}
	public ims.scheduling.vo.beans.SessionShortVoBean getProfile()
	{
		return this.profile;
	}
	public void setProfile(ims.scheduling.vo.beans.SessionShortVoBean value)
	{
		this.profile = value;
	}
	public ims.vo.LookupInstanceBean getSessionType()
	{
		return this.sessiontype;
	}
	public void setSessionType(ims.vo.LookupInstanceBean value)
	{
		this.sessiontype = value;
	}
	public Boolean getWasTimerOn()
	{
		return this.wastimeron;
	}
	public void setWasTimerOn(Boolean value)
	{
		this.wastimeron = value;
	}
	public ims.vo.LookupInstanceBean getListType()
	{
		return this.listtype;
	}
	public void setListType(ims.vo.LookupInstanceBean value)
	{
		this.listtype = value;
	}
	public ims.core.vo.beans.LocShortMappingsVoBean getTheatreLocation()
	{
		return this.theatrelocation;
	}
	public void setTheatreLocation(ims.core.vo.beans.LocShortMappingsVoBean value)
	{
		this.theatrelocation = value;
	}

	private ims.core.vo.beans.LocShortMappingsVoBean hospital;
	private ims.vo.RefVoBean listowner;
	private ims.framework.utils.beans.DateBean sessiondate;
	private ims.scheduling.vo.beans.SessionShortVoBean profile;
	private ims.vo.LookupInstanceBean sessiontype;
	private Boolean wastimeron;
	private ims.vo.LookupInstanceBean listtype;
	private ims.core.vo.beans.LocShortMappingsVoBean theatrelocation;
}
