/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/beans/InpatientClinicalCodingWorklistSearchCriteriaVoBean.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 InpatientClinicalCodingWorklistSearchCriteriaVoBean extends ims.vo.ValueObjectBean
{
	public InpatientClinicalCodingWorklistSearchCriteriaVoBean()
	{
	}
	public InpatientClinicalCodingWorklistSearchCriteriaVoBean(ims.RefMan.vo.InpatientClinicalCodingWorklistSearchCriteriaVo vo)
	{
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		this.dischargewards = vo.getDischargeWards() == null ? null : vo.getDischargeWards().getBeanCollection();
		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();
		// Interface field type not supported.
		this.codingstatuses = vo.getCodingStatuses() == null ? null : vo.getCodingStatuses().getBeanCollection();
		this.comments = vo.getComments() == null ? null : vo.getComments().getBeanCollection();
		this.awaitinghistology = vo.getAwaitingHistology();
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getHospital().getBean();
		this.casenotelocation = vo.getCaseNoteLocation() == null ? null : vo.getCaseNoteLocation().getBeanCollection();
		this.mrnnumbers = vo.getMRNNumbers();
		this.lastcomment = vo.getLastComment();
		this.allcomments = vo.getAllComments();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.RefMan.vo.InpatientClinicalCodingWorklistSearchCriteriaVo vo)
	{
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		this.dischargewards = vo.getDischargeWards() == null ? null : vo.getDischargeWards().getBeanCollection();
		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();
		// Interface field type not supported.
		this.codingstatuses = vo.getCodingStatuses() == null ? null : vo.getCodingStatuses().getBeanCollection();
		this.comments = vo.getComments() == null ? null : vo.getComments().getBeanCollection();
		this.awaitinghistology = vo.getAwaitingHistology();
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getHospital().getBean(map);
		this.casenotelocation = vo.getCaseNoteLocation() == null ? null : vo.getCaseNoteLocation().getBeanCollection();
		this.mrnnumbers = vo.getMRNNumbers();
		this.lastcomment = vo.getLastComment();
		this.allcomments = vo.getAllComments();
	}

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

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

	public ims.vo.LookupInstanceBean getSpecialty()
	{
		return this.specialty;
	}
	public void setSpecialty(ims.vo.LookupInstanceBean value)
	{
		this.specialty = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean[] getDischargeWards()
	{
		return this.dischargewards;
	}
	public void setDischargeWards(ims.core.vo.beans.LocationLiteVoBean[] value)
	{
		this.dischargewards = 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 java.util.Collection getCodingStatuses()
	{
		return this.codingstatuses;
	}
	public void setCodingStatuses(java.util.Collection value)
	{
		this.codingstatuses = value;
	}
	public void addCodingStatuses(java.util.Collection value)
	{
		if(this.codingstatuses == null)
			this.codingstatuses = new java.util.ArrayList();
		this.codingstatuses.add(value);
	}
	public java.util.Collection getComments()
	{
		return this.comments;
	}
	public void setComments(java.util.Collection value)
	{
		this.comments = value;
	}
	public void addComments(java.util.Collection value)
	{
		if(this.comments == null)
			this.comments = new java.util.ArrayList();
		this.comments.add(value);
	}
	public Boolean getAwaitingHistology()
	{
		return this.awaitinghistology;
	}
	public void setAwaitingHistology(Boolean value)
	{
		this.awaitinghistology = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean getHospital()
	{
		return this.hospital;
	}
	public void setHospital(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.hospital = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean[] getCaseNoteLocation()
	{
		return this.casenotelocation;
	}
	public void setCaseNoteLocation(ims.core.vo.beans.LocationLiteVoBean[] value)
	{
		this.casenotelocation = value;
	}
	public String getMRNNumbers()
	{
		return this.mrnnumbers;
	}
	public void setMRNNumbers(String value)
	{
		this.mrnnumbers = value;
	}
	public Boolean getLastComment()
	{
		return this.lastcomment;
	}
	public void setLastComment(Boolean value)
	{
		this.lastcomment = value;
	}
	public Boolean getAllComments()
	{
		return this.allcomments;
	}
	public void setAllComments(Boolean value)
	{
		this.allcomments = value;
	}

	private ims.vo.LookupInstanceBean specialty;
	private ims.core.vo.beans.LocationLiteVoBean[] dischargewards;
	private ims.framework.utils.beans.DateBean datefrom;
	private ims.framework.utils.beans.DateBean dateto;
	private java.util.Collection codingstatuses;
	private java.util.Collection comments;
	private Boolean awaitinghistology;
	private ims.core.vo.beans.LocationLiteVoBean hospital;
	private ims.core.vo.beans.LocationLiteVoBean[] casenotelocation;
	private String mrnnumbers;
	private Boolean lastcomment;
	private Boolean allcomments;
}
