/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/EDischargeSearchCriteriaVoBean.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 EDischargeSearchCriteriaVoBean extends ims.vo.ValueObjectBean
{
	public EDischargeSearchCriteriaVoBean()
	{
	}
	public EDischargeSearchCriteriaVoBean(ims.clinical.vo.EDischargeSearchCriteriaVo vo)
	{
		this.completinghcp = vo.getCompletingHCP() == null ? null : new ims.vo.RefVoBean(vo.getCompletingHCP().getBoId(), vo.getCompletingHCP().getBoVersion());
		this.initiatinghcp = vo.getInitiatingHCP() == null ? null : new ims.vo.RefVoBean(vo.getInitiatingHCP().getBoId(), vo.getInitiatingHCP().getBoVersion());
		this.responsiblehcp = vo.getResponsibleHCP() == null ? null : new ims.vo.RefVoBean(vo.getResponsibleHCP().getBoId(), vo.getResponsibleHCP().getBoVersion());
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.ward = vo.getWard() == null ? null : new ims.vo.RefVoBean(vo.getWard().getBoId(), vo.getWard().getBoVersion());
		this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatus().getBean();
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		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.clinicadetailscomplete = vo.getClinicaDetailsComplete() == null ? null : (ims.vo.LookupInstanceBean)vo.getClinicaDetailsComplete().getBean();
		this.tta = vo.getTTA() == null ? null : (ims.vo.LookupInstanceBean)vo.getTTA().getBean();
		this.ttafeedback = vo.getTTAFeedBack();
		this.noncornish = vo.getNonCornish();
		this.ttastatus = vo.getTTAStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getTTAStatus().getBean();
		this.completing = vo.getCompleting();
		this.excludedischarged = vo.getExcludeDischarged();
		this.searchtype = vo.getSearchType();
		this.currentward = vo.getCurrentWard() == null ? null : new ims.vo.RefVoBean(vo.getCurrentWard().getBoId(), vo.getCurrentWard().getBoVersion());
		this.columnsortorder = vo.getColumnSortOrder() == null ? null : (ims.core.vo.beans.ColumnSortOrderVoBean)vo.getColumnSortOrder().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.EDischargeSearchCriteriaVo vo)
	{
		this.completinghcp = vo.getCompletingHCP() == null ? null : new ims.vo.RefVoBean(vo.getCompletingHCP().getBoId(), vo.getCompletingHCP().getBoVersion());
		this.initiatinghcp = vo.getInitiatingHCP() == null ? null : new ims.vo.RefVoBean(vo.getInitiatingHCP().getBoId(), vo.getInitiatingHCP().getBoVersion());
		this.responsiblehcp = vo.getResponsibleHCP() == null ? null : new ims.vo.RefVoBean(vo.getResponsibleHCP().getBoId(), vo.getResponsibleHCP().getBoVersion());
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.ward = vo.getWard() == null ? null : new ims.vo.RefVoBean(vo.getWard().getBoId(), vo.getWard().getBoVersion());
		this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatus().getBean();
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		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.clinicadetailscomplete = vo.getClinicaDetailsComplete() == null ? null : (ims.vo.LookupInstanceBean)vo.getClinicaDetailsComplete().getBean();
		this.tta = vo.getTTA() == null ? null : (ims.vo.LookupInstanceBean)vo.getTTA().getBean();
		this.ttafeedback = vo.getTTAFeedBack();
		this.noncornish = vo.getNonCornish();
		this.ttastatus = vo.getTTAStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getTTAStatus().getBean();
		this.completing = vo.getCompleting();
		this.excludedischarged = vo.getExcludeDischarged();
		this.searchtype = vo.getSearchType();
		this.currentward = vo.getCurrentWard() == null ? null : new ims.vo.RefVoBean(vo.getCurrentWard().getBoId(), vo.getCurrentWard().getBoVersion());
		this.columnsortorder = vo.getColumnSortOrder() == null ? null : (ims.core.vo.beans.ColumnSortOrderVoBean)vo.getColumnSortOrder().getBean(map);
	}

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

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

	public ims.vo.RefVoBean getCompletingHCP()
	{
		return this.completinghcp;
	}
	public void setCompletingHCP(ims.vo.RefVoBean value)
	{
		this.completinghcp = value;
	}
	public ims.vo.RefVoBean getInitiatingHCP()
	{
		return this.initiatinghcp;
	}
	public void setInitiatingHCP(ims.vo.RefVoBean value)
	{
		this.initiatinghcp = value;
	}
	public ims.vo.RefVoBean getResponsibleHCP()
	{
		return this.responsiblehcp;
	}
	public void setResponsibleHCP(ims.vo.RefVoBean value)
	{
		this.responsiblehcp = value;
	}
	public ims.vo.RefVoBean getCareContext()
	{
		return this.carecontext;
	}
	public void setCareContext(ims.vo.RefVoBean value)
	{
		this.carecontext = value;
	}
	public ims.vo.RefVoBean getWard()
	{
		return this.ward;
	}
	public void setWard(ims.vo.RefVoBean value)
	{
		this.ward = value;
	}
	public ims.vo.LookupInstanceBean getStatus()
	{
		return this.status;
	}
	public void setStatus(ims.vo.LookupInstanceBean value)
	{
		this.status = value;
	}
	public ims.vo.LookupInstanceBean getSpecialty()
	{
		return this.specialty;
	}
	public void setSpecialty(ims.vo.LookupInstanceBean value)
	{
		this.specialty = 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 ims.vo.LookupInstanceBean getClinicaDetailsComplete()
	{
		return this.clinicadetailscomplete;
	}
	public void setClinicaDetailsComplete(ims.vo.LookupInstanceBean value)
	{
		this.clinicadetailscomplete = value;
	}
	public ims.vo.LookupInstanceBean getTTA()
	{
		return this.tta;
	}
	public void setTTA(ims.vo.LookupInstanceBean value)
	{
		this.tta = value;
	}
	public Boolean getTTAFeedBack()
	{
		return this.ttafeedback;
	}
	public void setTTAFeedBack(Boolean value)
	{
		this.ttafeedback = value;
	}
	public Boolean getNonCornish()
	{
		return this.noncornish;
	}
	public void setNonCornish(Boolean value)
	{
		this.noncornish = value;
	}
	public ims.vo.LookupInstanceBean getTTAStatus()
	{
		return this.ttastatus;
	}
	public void setTTAStatus(ims.vo.LookupInstanceBean value)
	{
		this.ttastatus = value;
	}
	public Boolean getCompleting()
	{
		return this.completing;
	}
	public void setCompleting(Boolean value)
	{
		this.completing = value;
	}
	public Boolean getExcludeDischarged()
	{
		return this.excludedischarged;
	}
	public void setExcludeDischarged(Boolean value)
	{
		this.excludedischarged = value;
	}
	public Integer getSearchType()
	{
		return this.searchtype;
	}
	public void setSearchType(Integer value)
	{
		this.searchtype = value;
	}
	public ims.vo.RefVoBean getCurrentWard()
	{
		return this.currentward;
	}
	public void setCurrentWard(ims.vo.RefVoBean value)
	{
		this.currentward = value;
	}
	public ims.core.vo.beans.ColumnSortOrderVoBean getColumnSortOrder()
	{
		return this.columnsortorder;
	}
	public void setColumnSortOrder(ims.core.vo.beans.ColumnSortOrderVoBean value)
	{
		this.columnsortorder = value;
	}

	private ims.vo.RefVoBean completinghcp;
	private ims.vo.RefVoBean initiatinghcp;
	private ims.vo.RefVoBean responsiblehcp;
	private ims.vo.RefVoBean carecontext;
	private ims.vo.RefVoBean ward;
	private ims.vo.LookupInstanceBean status;
	private ims.vo.LookupInstanceBean specialty;
	private ims.framework.utils.beans.DateBean fromdate;
	private ims.framework.utils.beans.DateBean todate;
	private ims.vo.LookupInstanceBean clinicadetailscomplete;
	private ims.vo.LookupInstanceBean tta;
	private Boolean ttafeedback;
	private Boolean noncornish;
	private ims.vo.LookupInstanceBean ttastatus;
	private Boolean completing;
	private Boolean excludedischarged;
	private Integer searchtype;
	private ims.vo.RefVoBean currentward;
	private ims.core.vo.beans.ColumnSortOrderVoBean columnsortorder;
}
