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

public class IfProviderInvSearchVoBean extends ims.vo.ValueObjectBean
{
	public IfProviderInvSearchVoBean()
	{
	}
	public IfProviderInvSearchVoBean(ims.ocs_if.vo.IfProviderInvSearchVo vo)
	{
		this.providerinvcode = vo.getProviderInvCode();
		this.hl7app = vo.getHl7App();
		this.service = vo.getService() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean)vo.getService().getBean();
		this.specimensource = vo.getSpecimenSource();
		this.provider = vo.getProvider() == null ? null : (ims.ocrr.vo.beans.ProviderSystemVoBean)vo.getProvider().getBean();
		this.specimensite = vo.getSpecimenSite();
		this.isresultmessage = vo.getIsResultMessage();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.ocs_if.vo.IfProviderInvSearchVo vo)
	{
		this.providerinvcode = vo.getProviderInvCode();
		this.hl7app = vo.getHl7App();
		this.service = vo.getService() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean)vo.getService().getBean(map);
		this.specimensource = vo.getSpecimenSource();
		this.provider = vo.getProvider() == null ? null : (ims.ocrr.vo.beans.ProviderSystemVoBean)vo.getProvider().getBean(map);
		this.specimensite = vo.getSpecimenSite();
		this.isresultmessage = vo.getIsResultMessage();
	}

	public ims.ocs_if.vo.IfProviderInvSearchVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

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

	public String getProviderInvCode()
	{
		return this.providerinvcode;
	}
	public void setProviderInvCode(String value)
	{
		this.providerinvcode = value;
	}
	public String getHl7App()
	{
		return this.hl7app;
	}
	public void setHl7App(String value)
	{
		this.hl7app = value;
	}
	public ims.core.vo.beans.ServiceLiteVoBean getService()
	{
		return this.service;
	}
	public void setService(ims.core.vo.beans.ServiceLiteVoBean value)
	{
		this.service = value;
	}
	public String getSpecimenSource()
	{
		return this.specimensource;
	}
	public void setSpecimenSource(String value)
	{
		this.specimensource = value;
	}
	public ims.ocrr.vo.beans.ProviderSystemVoBean getProvider()
	{
		return this.provider;
	}
	public void setProvider(ims.ocrr.vo.beans.ProviderSystemVoBean value)
	{
		this.provider = value;
	}
	public String getSpecimenSite()
	{
		return this.specimensite;
	}
	public void setSpecimenSite(String value)
	{
		this.specimensite = value;
	}
	public Boolean getIsResultMessage()
	{
		return this.isresultmessage;
	}
	public void setIsResultMessage(Boolean value)
	{
		this.isresultmessage = value;
	}

	private String providerinvcode;
	private String hl7app;
	private ims.core.vo.beans.ServiceLiteVoBean service;
	private String specimensource;
	private ims.ocrr.vo.beans.ProviderSystemVoBean provider;
	private String specimensite;
	private Boolean isresultmessage;
}
