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

public class NewResultsSearchCriteriaVoBean extends ims.vo.ValueObjectBean
{
	public NewResultsSearchCriteriaVoBean()
	{
	}
	public NewResultsSearchCriteriaVoBean(ims.ocrr.vo.NewResultsSearchCriteriaVo vo)
	{
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getHospital().getBean();
		this.orderinglocationtype = vo.getOrderingLocationType();
		// Base value object field type not supported.
		// Base value object field type not supported.
		this.discipline = vo.getDiscipline() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean)vo.getDiscipline().getBean();
		this.orderinghcp = vo.getOrderingHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getOrderingHCP().getBean();
		this.inpatients = vo.getInpatients();
		this.newupdated = vo.getNewUpdated();
		this.fromdate = vo.getFromDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getFromDate().getBean();
		this.todate = vo.getToDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getToDate().getBean();
		this.days = vo.getDays();
		this.seenchecked = vo.getSeenChecked();
		this.forreview = vo.getForReview();
		this.specialty = vo.getSpecialty();
		this.specialtyinstance = vo.getSpecialtyInstance() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialtyInstance().getBean();
		this.initiallyseenbyhcp = vo.getInitiallySeenByHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getInitiallySeenByHCP().getBean();
		this.completed = vo.getCompleted();
		this.checked = vo.getChecked();
		this.reviewinghcp = vo.getReviewingHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getReviewingHCP().getBean();
		this.responsibleclinician = vo.getResponsibleClinician() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getResponsibleClinician().getBean();
		this.excludeinpatients = vo.getExcludeInpatients();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.ocrr.vo.NewResultsSearchCriteriaVo vo)
	{
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getHospital().getBean(map);
		this.orderinglocationtype = vo.getOrderingLocationType();
		// Base value object field type not supported.
		// Base value object field type not supported.
		this.discipline = vo.getDiscipline() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean)vo.getDiscipline().getBean(map);
		this.orderinghcp = vo.getOrderingHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getOrderingHCP().getBean(map);
		this.inpatients = vo.getInpatients();
		this.newupdated = vo.getNewUpdated();
		this.fromdate = vo.getFromDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getFromDate().getBean();
		this.todate = vo.getToDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getToDate().getBean();
		this.days = vo.getDays();
		this.seenchecked = vo.getSeenChecked();
		this.forreview = vo.getForReview();
		this.specialty = vo.getSpecialty();
		this.specialtyinstance = vo.getSpecialtyInstance() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialtyInstance().getBean();
		this.initiallyseenbyhcp = vo.getInitiallySeenByHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getInitiallySeenByHCP().getBean(map);
		this.completed = vo.getCompleted();
		this.checked = vo.getChecked();
		this.reviewinghcp = vo.getReviewingHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getReviewingHCP().getBean(map);
		this.responsibleclinician = vo.getResponsibleClinician() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getResponsibleClinician().getBean(map);
		this.excludeinpatients = vo.getExcludeInpatients();
	}

	public ims.ocrr.vo.NewResultsSearchCriteriaVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

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

	public ims.core.vo.beans.LocationLiteVoBean getHospital()
	{
		return this.hospital;
	}
	public void setHospital(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.hospital = value;
	}
	public Integer getOrderingLocationType()
	{
		return this.orderinglocationtype;
	}
	public void setOrderingLocationType(Integer value)
	{
		this.orderinglocationtype = value;
	}
	public ims.core.vo.beans.ServiceLiteVoBean getDiscipline()
	{
		return this.discipline;
	}
	public void setDiscipline(ims.core.vo.beans.ServiceLiteVoBean value)
	{
		this.discipline = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getOrderingHCP()
	{
		return this.orderinghcp;
	}
	public void setOrderingHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.orderinghcp = value;
	}
	public Integer getInpatients()
	{
		return this.inpatients;
	}
	public void setInpatients(Integer value)
	{
		this.inpatients = value;
	}
	public Boolean getNewUpdated()
	{
		return this.newupdated;
	}
	public void setNewUpdated(Boolean value)
	{
		this.newupdated = value;
	}
	public ims.framework.utils.beans.DateBean getFromDate()
	{
		return this.fromdate;
	}
	public void setFromDate(ims.framework.utils.beans.DateBean value)
	{
		this.fromdate = value;
	}
	public ims.framework.utils.beans.DateBean getToDate()
	{
		return this.todate;
	}
	public void setToDate(ims.framework.utils.beans.DateBean value)
	{
		this.todate = value;
	}
	public Integer getDays()
	{
		return this.days;
	}
	public void setDays(Integer value)
	{
		this.days = value;
	}
	public Boolean getSeenChecked()
	{
		return this.seenchecked;
	}
	public void setSeenChecked(Boolean value)
	{
		this.seenchecked = value;
	}
	public Boolean getForReview()
	{
		return this.forreview;
	}
	public void setForReview(Boolean value)
	{
		this.forreview = value;
	}
	public Boolean getSpecialty()
	{
		return this.specialty;
	}
	public void setSpecialty(Boolean value)
	{
		this.specialty = value;
	}
	public ims.vo.LookupInstanceBean getSpecialtyInstance()
	{
		return this.specialtyinstance;
	}
	public void setSpecialtyInstance(ims.vo.LookupInstanceBean value)
	{
		this.specialtyinstance = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getInitiallySeenByHCP()
	{
		return this.initiallyseenbyhcp;
	}
	public void setInitiallySeenByHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.initiallyseenbyhcp = value;
	}
	public Boolean getCompleted()
	{
		return this.completed;
	}
	public void setCompleted(Boolean value)
	{
		this.completed = value;
	}
	public Boolean getChecked()
	{
		return this.checked;
	}
	public void setChecked(Boolean value)
	{
		this.checked = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getReviewingHCP()
	{
		return this.reviewinghcp;
	}
	public void setReviewingHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.reviewinghcp = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getResponsibleClinician()
	{
		return this.responsibleclinician;
	}
	public void setResponsibleClinician(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.responsibleclinician = value;
	}
	public Boolean getExcludeInpatients()
	{
		return this.excludeinpatients;
	}
	public void setExcludeInpatients(Boolean value)
	{
		this.excludeinpatients = value;
	}

	private ims.core.vo.beans.LocationLiteVoBean hospital;
	private Integer orderinglocationtype;
	private ims.core.vo.beans.ServiceLiteVoBean discipline;
	private ims.core.vo.beans.HcpLiteVoBean orderinghcp;
	private Integer inpatients;
	private Boolean newupdated;
	private ims.framework.utils.beans.DateBean fromdate;
	private ims.framework.utils.beans.DateBean todate;
	private Integer days;
	private Boolean seenchecked;
	private Boolean forreview;
	private Boolean specialty;
	private ims.vo.LookupInstanceBean specialtyinstance;
	private ims.core.vo.beans.HcpLiteVoBean initiallyseenbyhcp;
	private Boolean completed;
	private Boolean checked;
	private ims.core.vo.beans.HcpLiteVoBean reviewinghcp;
	private ims.core.vo.beans.HcpLiteVoBean responsibleclinician;
	private Boolean excludeinpatients;
}
