/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/OutgoingReferralListSearchCriteriaVoBean.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 OutgoingReferralListSearchCriteriaVoBean extends ims.vo.ValueObjectBean
{
	public OutgoingReferralListSearchCriteriaVoBean()
	{
	}
	public OutgoingReferralListSearchCriteriaVoBean(ims.clinical.vo.OutgoingReferralListSearchCriteriaVo vo)
	{
		this.awaitingreferralletter = vo.getAwaitingReferralLetter();
		this.awaitingsignoff = vo.getAwaitingSignOff();
		this.requiringfurtherinfo = vo.getRequiringFurtherInfo();
		this.awaitingacceptance = vo.getAwaitingAcceptance();
		this.requiressecondopinion = vo.getRequiresSecondOpinion();
		this.accepted = vo.getAccepted();
		this.requiresappt = vo.getRequiresAppt();
		this.appointmentbooked = vo.getAppointmentBooked();
		this.rejectionacknowledged = vo.getRejectionAcknowledged();
		this.rejectionnotacknowledged = vo.getRejectionNotAcknowledged();
		this.completed = vo.getCompleted();
		this.inpatient = vo.getInpatient();
		this.outpatient = vo.getOutpatient();
		this.serviceby = vo.getServiceBy() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean)vo.getServiceBy().getBean();
		this.serviceto = vo.getServiceTo() == null ? null : (ims.clinical.vo.beans.ServiceConfigIntReferralForIncomingListVoBean)vo.getServiceTo().getBean();
		this.hcpto = vo.getHcpTo() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getHcpTo().getBean();
		this.datefrom = vo.getDateFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateFrom().getBean();
		this.dateto = vo.getDateTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTo().getBean();
		this.hcpby = vo.getHcpBy() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getHcpBy().getBean();
		this.servicesbycollection = vo.getServicesByCollection() == null ? null : vo.getServicesByCollection().getBeanCollection();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.OutgoingReferralListSearchCriteriaVo vo)
	{
		this.awaitingreferralletter = vo.getAwaitingReferralLetter();
		this.awaitingsignoff = vo.getAwaitingSignOff();
		this.requiringfurtherinfo = vo.getRequiringFurtherInfo();
		this.awaitingacceptance = vo.getAwaitingAcceptance();
		this.requiressecondopinion = vo.getRequiresSecondOpinion();
		this.accepted = vo.getAccepted();
		this.requiresappt = vo.getRequiresAppt();
		this.appointmentbooked = vo.getAppointmentBooked();
		this.rejectionacknowledged = vo.getRejectionAcknowledged();
		this.rejectionnotacknowledged = vo.getRejectionNotAcknowledged();
		this.completed = vo.getCompleted();
		this.inpatient = vo.getInpatient();
		this.outpatient = vo.getOutpatient();
		this.serviceby = vo.getServiceBy() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean)vo.getServiceBy().getBean(map);
		this.serviceto = vo.getServiceTo() == null ? null : (ims.clinical.vo.beans.ServiceConfigIntReferralForIncomingListVoBean)vo.getServiceTo().getBean(map);
		this.hcpto = vo.getHcpTo() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getHcpTo().getBean(map);
		this.datefrom = vo.getDateFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateFrom().getBean();
		this.dateto = vo.getDateTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTo().getBean();
		this.hcpby = vo.getHcpBy() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getHcpBy().getBean(map);
		this.servicesbycollection = vo.getServicesByCollection() == null ? null : vo.getServicesByCollection().getBeanCollection();
	}

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

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

	public Boolean getAwaitingReferralLetter()
	{
		return this.awaitingreferralletter;
	}
	public void setAwaitingReferralLetter(Boolean value)
	{
		this.awaitingreferralletter = value;
	}
	public Boolean getAwaitingSignOff()
	{
		return this.awaitingsignoff;
	}
	public void setAwaitingSignOff(Boolean value)
	{
		this.awaitingsignoff = value;
	}
	public Boolean getRequiringFurtherInfo()
	{
		return this.requiringfurtherinfo;
	}
	public void setRequiringFurtherInfo(Boolean value)
	{
		this.requiringfurtherinfo = value;
	}
	public Boolean getAwaitingAcceptance()
	{
		return this.awaitingacceptance;
	}
	public void setAwaitingAcceptance(Boolean value)
	{
		this.awaitingacceptance = value;
	}
	public Boolean getRequiresSecondOpinion()
	{
		return this.requiressecondopinion;
	}
	public void setRequiresSecondOpinion(Boolean value)
	{
		this.requiressecondopinion = value;
	}
	public Boolean getAccepted()
	{
		return this.accepted;
	}
	public void setAccepted(Boolean value)
	{
		this.accepted = value;
	}
	public Boolean getRequiresAppt()
	{
		return this.requiresappt;
	}
	public void setRequiresAppt(Boolean value)
	{
		this.requiresappt = value;
	}
	public Boolean getAppointmentBooked()
	{
		return this.appointmentbooked;
	}
	public void setAppointmentBooked(Boolean value)
	{
		this.appointmentbooked = value;
	}
	public Boolean getRejectionAcknowledged()
	{
		return this.rejectionacknowledged;
	}
	public void setRejectionAcknowledged(Boolean value)
	{
		this.rejectionacknowledged = value;
	}
	public Boolean getRejectionNotAcknowledged()
	{
		return this.rejectionnotacknowledged;
	}
	public void setRejectionNotAcknowledged(Boolean value)
	{
		this.rejectionnotacknowledged = value;
	}
	public Boolean getCompleted()
	{
		return this.completed;
	}
	public void setCompleted(Boolean value)
	{
		this.completed = value;
	}
	public Boolean getInpatient()
	{
		return this.inpatient;
	}
	public void setInpatient(Boolean value)
	{
		this.inpatient = value;
	}
	public Boolean getOutpatient()
	{
		return this.outpatient;
	}
	public void setOutpatient(Boolean value)
	{
		this.outpatient = value;
	}
	public ims.core.vo.beans.ServiceLiteVoBean getServiceBy()
	{
		return this.serviceby;
	}
	public void setServiceBy(ims.core.vo.beans.ServiceLiteVoBean value)
	{
		this.serviceby = value;
	}
	public ims.clinical.vo.beans.ServiceConfigIntReferralForIncomingListVoBean getServiceTo()
	{
		return this.serviceto;
	}
	public void setServiceTo(ims.clinical.vo.beans.ServiceConfigIntReferralForIncomingListVoBean value)
	{
		this.serviceto = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getHcpTo()
	{
		return this.hcpto;
	}
	public void setHcpTo(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.hcpto = value;
	}
	public ims.framework.utils.beans.DateBean getDateFrom()
	{
		return this.datefrom;
	}
	public void setDateFrom(ims.framework.utils.beans.DateBean value)
	{
		this.datefrom = value;
	}
	public ims.framework.utils.beans.DateBean getDateTo()
	{
		return this.dateto;
	}
	public void setDateTo(ims.framework.utils.beans.DateBean value)
	{
		this.dateto = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getHcpBy()
	{
		return this.hcpby;
	}
	public void setHcpBy(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.hcpby = value;
	}
	public ims.clinical.vo.beans.ServiceForIncomingReferralListVoBean[] getServicesByCollection()
	{
		return this.servicesbycollection;
	}
	public void setServicesByCollection(ims.clinical.vo.beans.ServiceForIncomingReferralListVoBean[] value)
	{
		this.servicesbycollection = value;
	}

	private Boolean awaitingreferralletter;
	private Boolean awaitingsignoff;
	private Boolean requiringfurtherinfo;
	private Boolean awaitingacceptance;
	private Boolean requiressecondopinion;
	private Boolean accepted;
	private Boolean requiresappt;
	private Boolean appointmentbooked;
	private Boolean rejectionacknowledged;
	private Boolean rejectionnotacknowledged;
	private Boolean completed;
	private Boolean inpatient;
	private Boolean outpatient;
	private ims.core.vo.beans.ServiceLiteVoBean serviceby;
	private ims.clinical.vo.beans.ServiceConfigIntReferralForIncomingListVoBean serviceto;
	private ims.core.vo.beans.HcpLiteVoBean hcpto;
	private ims.framework.utils.beans.DateBean datefrom;
	private ims.framework.utils.beans.DateBean dateto;
	private ims.core.vo.beans.HcpLiteVoBean hcpby;
	private ims.clinical.vo.beans.ServiceForIncomingReferralListVoBean[] servicesbycollection;
}
