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

public class DummyVoBean extends ims.vo.ValueObjectBean
{
	public DummyVoBean()
	{
	}
	public DummyVoBean(ims.dtomove.vo.DummyVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.active = vo.getActive();
		this.priority = vo.getPriority() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriority().getBean();
		this.specialtycode = vo.getSpecialtyCode() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialtyCode().getBean();
		this.servicetype = vo.getServiceType() == null ? null : (ims.vo.LookupInstanceBean)vo.getServiceType().getBean();
		this.contractlocation = vo.getContractLocation() == null ? null : (ims.vo.LookupInstanceBean)vo.getContractLocation().getBean();
		this.cancelreason = vo.getCancelReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getCancelReason().getBean();
		this.apptstatus = vo.getApptStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getApptStatus().getBean();
		this.treatmentcategory = vo.getTreatmentCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getTreatmentCategory().getBean();
		this.dnareason = vo.getDNAReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getDNAReason().getBean();
		this.machinetype = vo.getMachineType() == null ? null : (ims.vo.LookupInstanceBean)vo.getMachineType().getBean();
		this.scheduletype = vo.getScheduleType() == null ? null : (ims.vo.LookupInstanceBean)vo.getScheduleType().getBean();
		this.schedulecategory = vo.getScheduleCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getScheduleCategory().getBean();
		this.intervaltype = vo.getIntervalType() == null ? null : (ims.vo.LookupInstanceBean)vo.getIntervalType().getBean();
		this.locationchar = vo.getLocationChar() == null ? null : (ims.vo.LookupInstanceBean)vo.getLocationChar().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.dtomove.vo.DummyVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.active = vo.getActive();
		this.priority = vo.getPriority() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriority().getBean();
		this.specialtycode = vo.getSpecialtyCode() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialtyCode().getBean();
		this.servicetype = vo.getServiceType() == null ? null : (ims.vo.LookupInstanceBean)vo.getServiceType().getBean();
		this.contractlocation = vo.getContractLocation() == null ? null : (ims.vo.LookupInstanceBean)vo.getContractLocation().getBean();
		this.cancelreason = vo.getCancelReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getCancelReason().getBean();
		this.apptstatus = vo.getApptStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getApptStatus().getBean();
		this.treatmentcategory = vo.getTreatmentCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getTreatmentCategory().getBean();
		this.dnareason = vo.getDNAReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getDNAReason().getBean();
		this.machinetype = vo.getMachineType() == null ? null : (ims.vo.LookupInstanceBean)vo.getMachineType().getBean();
		this.scheduletype = vo.getScheduleType() == null ? null : (ims.vo.LookupInstanceBean)vo.getScheduleType().getBean();
		this.schedulecategory = vo.getScheduleCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getScheduleCategory().getBean();
		this.intervaltype = vo.getIntervalType() == null ? null : (ims.vo.LookupInstanceBean)vo.getIntervalType().getBean();
		this.locationchar = vo.getLocationChar() == null ? null : (ims.vo.LookupInstanceBean)vo.getLocationChar().getBean();
	}

	public ims.dtomove.vo.DummyVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

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

	public Integer getId()
	{
		return this.id;
	}
	public void setId(Integer value)
	{
		this.id = value;
	}
	public int getVersion()
	{
		return this.version;
	}
	public void setVersion(int value)
	{
		this.version = value;
	}
	public String getActive()
	{
		return this.active;
	}
	public void setActive(String value)
	{
		this.active = value;
	}
	public ims.vo.LookupInstanceBean getPriority()
	{
		return this.priority;
	}
	public void setPriority(ims.vo.LookupInstanceBean value)
	{
		this.priority = value;
	}
	public ims.vo.LookupInstanceBean getSpecialtyCode()
	{
		return this.specialtycode;
	}
	public void setSpecialtyCode(ims.vo.LookupInstanceBean value)
	{
		this.specialtycode = value;
	}
	public ims.vo.LookupInstanceBean getServiceType()
	{
		return this.servicetype;
	}
	public void setServiceType(ims.vo.LookupInstanceBean value)
	{
		this.servicetype = value;
	}
	public ims.vo.LookupInstanceBean getContractLocation()
	{
		return this.contractlocation;
	}
	public void setContractLocation(ims.vo.LookupInstanceBean value)
	{
		this.contractlocation = value;
	}
	public ims.vo.LookupInstanceBean getCancelReason()
	{
		return this.cancelreason;
	}
	public void setCancelReason(ims.vo.LookupInstanceBean value)
	{
		this.cancelreason = value;
	}
	public ims.vo.LookupInstanceBean getApptStatus()
	{
		return this.apptstatus;
	}
	public void setApptStatus(ims.vo.LookupInstanceBean value)
	{
		this.apptstatus = value;
	}
	public ims.vo.LookupInstanceBean getTreatmentCategory()
	{
		return this.treatmentcategory;
	}
	public void setTreatmentCategory(ims.vo.LookupInstanceBean value)
	{
		this.treatmentcategory = value;
	}
	public ims.vo.LookupInstanceBean getDNAReason()
	{
		return this.dnareason;
	}
	public void setDNAReason(ims.vo.LookupInstanceBean value)
	{
		this.dnareason = value;
	}
	public ims.vo.LookupInstanceBean getMachineType()
	{
		return this.machinetype;
	}
	public void setMachineType(ims.vo.LookupInstanceBean value)
	{
		this.machinetype = value;
	}
	public ims.vo.LookupInstanceBean getScheduleType()
	{
		return this.scheduletype;
	}
	public void setScheduleType(ims.vo.LookupInstanceBean value)
	{
		this.scheduletype = value;
	}
	public ims.vo.LookupInstanceBean getScheduleCategory()
	{
		return this.schedulecategory;
	}
	public void setScheduleCategory(ims.vo.LookupInstanceBean value)
	{
		this.schedulecategory = value;
	}
	public ims.vo.LookupInstanceBean getIntervalType()
	{
		return this.intervaltype;
	}
	public void setIntervalType(ims.vo.LookupInstanceBean value)
	{
		this.intervaltype = value;
	}
	public ims.vo.LookupInstanceBean getLocationChar()
	{
		return this.locationchar;
	}
	public void setLocationChar(ims.vo.LookupInstanceBean value)
	{
		this.locationchar = value;
	}

	private Integer id;
	private int version;
	private String active;
	private ims.vo.LookupInstanceBean priority;
	private ims.vo.LookupInstanceBean specialtycode;
	private ims.vo.LookupInstanceBean servicetype;
	private ims.vo.LookupInstanceBean contractlocation;
	private ims.vo.LookupInstanceBean cancelreason;
	private ims.vo.LookupInstanceBean apptstatus;
	private ims.vo.LookupInstanceBean treatmentcategory;
	private ims.vo.LookupInstanceBean dnareason;
	private ims.vo.LookupInstanceBean machinetype;
	private ims.vo.LookupInstanceBean scheduletype;
	private ims.vo.LookupInstanceBean schedulecategory;
	private ims.vo.LookupInstanceBean intervaltype;
	private ims.vo.LookupInstanceBean locationchar;
}
