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

public class ClinicListFilterVoBean extends ims.vo.ValueObjectBean
{
	public ClinicListFilterVoBean()
	{
	}
	public ClinicListFilterVoBean(ims.RefMan.vo.ClinicListFilterVo vo)
	{
		this.profile = vo.getProfile() == null ? null : (ims.scheduling.vo.beans.ProfileShortVoBean)vo.getProfile().getBean();
		this.clinicdate = vo.getClinicDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getClinicDate().getBean();
		this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatus().getBean();
		this.session = vo.getSession() == null ? null : new ims.vo.RefVoBean(vo.getSession().getBoId(), vo.getSession().getBoVersion());
		// Interface field type not supported.
		this.contract = vo.getContract() == null ? null : (ims.core.vo.beans.OrganisationLiteVoBean)vo.getContract().getBean();
		this.wastimeron = vo.getWasTimerOn();
		this.listtype = vo.getListType() == null ? null : (ims.vo.LookupInstanceBean)vo.getListType().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.RefMan.vo.ClinicListFilterVo vo)
	{
		this.profile = vo.getProfile() == null ? null : (ims.scheduling.vo.beans.ProfileShortVoBean)vo.getProfile().getBean(map);
		this.clinicdate = vo.getClinicDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getClinicDate().getBean();
		this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatus().getBean();
		this.session = vo.getSession() == null ? null : new ims.vo.RefVoBean(vo.getSession().getBoId(), vo.getSession().getBoVersion());
		// Interface field type not supported.
		this.contract = vo.getContract() == null ? null : (ims.core.vo.beans.OrganisationLiteVoBean)vo.getContract().getBean(map);
		this.wastimeron = vo.getWasTimerOn();
		this.listtype = vo.getListType() == null ? null : (ims.vo.LookupInstanceBean)vo.getListType().getBean();
	}

	public ims.RefMan.vo.ClinicListFilterVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

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

	public ims.scheduling.vo.beans.ProfileShortVoBean getProfile()
	{
		return this.profile;
	}
	public void setProfile(ims.scheduling.vo.beans.ProfileShortVoBean value)
	{
		this.profile = value;
	}
	public ims.framework.utils.beans.DateBean getClinicDate()
	{
		return this.clinicdate;
	}
	public void setClinicDate(ims.framework.utils.beans.DateBean value)
	{
		this.clinicdate = value;
	}
	public ims.vo.LookupInstanceBean getStatus()
	{
		return this.status;
	}
	public void setStatus(ims.vo.LookupInstanceBean value)
	{
		this.status = value;
	}
	public ims.vo.RefVoBean getSession()
	{
		return this.session;
	}
	public void setSession(ims.vo.RefVoBean value)
	{
		this.session = value;
	}
	public ims.core.vo.beans.OrganisationLiteVoBean getContract()
	{
		return this.contract;
	}
	public void setContract(ims.core.vo.beans.OrganisationLiteVoBean value)
	{
		this.contract = 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;
	}

	private ims.scheduling.vo.beans.ProfileShortVoBean profile;
	private ims.framework.utils.beans.DateBean clinicdate;
	private ims.vo.LookupInstanceBean status;
	private ims.vo.RefVoBean session;
	private ims.core.vo.beans.OrganisationLiteVoBean contract;
	private Boolean wastimeron;
	private ims.vo.LookupInstanceBean listtype;
}
