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

public class EasWorklistSearchCriteriaVoBean extends ims.vo.ValueObjectBean
{
	public EasWorklistSearchCriteriaVoBean()
	{
	}
	public EasWorklistSearchCriteriaVoBean(ims.eas.vo.EasWorklistSearchCriteriaVo vo)
	{
		this.dateseenfrom = vo.getDateSeenFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateSeenFrom().getBean();
		this.dateseento = vo.getDateSeenTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateSeenTo().getBean();
		this.decisiontotreatfrom = vo.getDecisionToTreatFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDecisionToTreatFrom().getBean();
		this.decisiontotreatto = vo.getDecisionToTreatTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDecisionToTreatTo().getBean();
		// Interface field type not supported.
		// Interface field type not supported.
		this.priority = vo.getPriority() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriority().getBean();
		this.treatmentintent = vo.getTreatmentIntent() == null ? null : (ims.vo.LookupInstanceBean)vo.getTreatmentIntent().getBean();
		this.patientstatus = vo.getPatientStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientStatus().getBean();
		this.easstatuses = vo.getEasStatuses() == null ? null : vo.getEasStatuses().getBeanCollection();
		this.actionrequired = vo.getActionRequired();
		this.tpcreated = vo.getTpCreated();
		this.easremoved = vo.getEasRemoved();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.eas.vo.EasWorklistSearchCriteriaVo vo)
	{
		this.dateseenfrom = vo.getDateSeenFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateSeenFrom().getBean();
		this.dateseento = vo.getDateSeenTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateSeenTo().getBean();
		this.decisiontotreatfrom = vo.getDecisionToTreatFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDecisionToTreatFrom().getBean();
		this.decisiontotreatto = vo.getDecisionToTreatTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDecisionToTreatTo().getBean();
		// Interface field type not supported.
		// Interface field type not supported.
		this.priority = vo.getPriority() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriority().getBean();
		this.treatmentintent = vo.getTreatmentIntent() == null ? null : (ims.vo.LookupInstanceBean)vo.getTreatmentIntent().getBean();
		this.patientstatus = vo.getPatientStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientStatus().getBean();
		this.easstatuses = vo.getEasStatuses() == null ? null : vo.getEasStatuses().getBeanCollection();
		this.actionrequired = vo.getActionRequired();
		this.tpcreated = vo.getTpCreated();
		this.easremoved = vo.getEasRemoved();
	}

	public ims.eas.vo.EasWorklistSearchCriteriaVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

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

	public ims.framework.utils.beans.DateBean getDateSeenFrom()
	{
		return this.dateseenfrom;
	}
	public void setDateSeenFrom(ims.framework.utils.beans.DateBean value)
	{
		this.dateseenfrom = value;
	}
	public ims.framework.utils.beans.DateBean getDateSeenTo()
	{
		return this.dateseento;
	}
	public void setDateSeenTo(ims.framework.utils.beans.DateBean value)
	{
		this.dateseento = value;
	}
	public ims.framework.utils.beans.DateBean getDecisionToTreatFrom()
	{
		return this.decisiontotreatfrom;
	}
	public void setDecisionToTreatFrom(ims.framework.utils.beans.DateBean value)
	{
		this.decisiontotreatfrom = value;
	}
	public ims.framework.utils.beans.DateBean getDecisionToTreatTo()
	{
		return this.decisiontotreatto;
	}
	public void setDecisionToTreatTo(ims.framework.utils.beans.DateBean value)
	{
		this.decisiontotreatto = value;
	}
	public ims.vo.LookupInstanceBean getPriority()
	{
		return this.priority;
	}
	public void setPriority(ims.vo.LookupInstanceBean value)
	{
		this.priority = value;
	}
	public ims.vo.LookupInstanceBean getTreatmentIntent()
	{
		return this.treatmentintent;
	}
	public void setTreatmentIntent(ims.vo.LookupInstanceBean value)
	{
		this.treatmentintent = value;
	}
	public ims.vo.LookupInstanceBean getPatientStatus()
	{
		return this.patientstatus;
	}
	public void setPatientStatus(ims.vo.LookupInstanceBean value)
	{
		this.patientstatus = value;
	}
	public java.util.Collection getEasStatuses()
	{
		return this.easstatuses;
	}
	public void setEasStatuses(java.util.Collection value)
	{
		this.easstatuses = value;
	}
	public void addEasStatuses(java.util.Collection value)
	{
		if(this.easstatuses == null)
			this.easstatuses = new java.util.ArrayList();
		this.easstatuses.add(value);
	}
	public Boolean getActionRequired()
	{
		return this.actionrequired;
	}
	public void setActionRequired(Boolean value)
	{
		this.actionrequired = value;
	}
	public Boolean getTpCreated()
	{
		return this.tpcreated;
	}
	public void setTpCreated(Boolean value)
	{
		this.tpcreated = value;
	}
	public Boolean getEasRemoved()
	{
		return this.easremoved;
	}
	public void setEasRemoved(Boolean value)
	{
		this.easremoved = value;
	}

	private ims.framework.utils.beans.DateBean dateseenfrom;
	private ims.framework.utils.beans.DateBean dateseento;
	private ims.framework.utils.beans.DateBean decisiontotreatfrom;
	private ims.framework.utils.beans.DateBean decisiontotreatto;
	private ims.vo.LookupInstanceBean priority;
	private ims.vo.LookupInstanceBean treatmentintent;
	private ims.vo.LookupInstanceBean patientstatus;
	private java.util.Collection easstatuses;
	private Boolean actionrequired;
	private Boolean tpcreated;
	private Boolean easremoved;
}
