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

public class DoctorsWorkListItemVoBean extends ims.vo.ValueObjectBean
{
	public DoctorsWorkListItemVoBean()
	{
	}
	public DoctorsWorkListItemVoBean(ims.ccosched.vo.DoctorsWorkListItemVo vo)
	{
		this.id = vo.getID();
		this.hospnum = vo.getHospNum();
		this.name = vo.getName();
		this.type = vo.getType();
		this.typeid = vo.getTypeID();
		this.activity = vo.getActivity();
		this.hcp = vo.getHCP();
		this.clinic = vo.getClinic();
		this.appointmenttime = vo.getAppointmentTime();
		this.treatmentaction = vo.getTreatmentAction();
		this.deadline = vo.getDeadline() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDeadline().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.ccosched.vo.DoctorsWorkListItemVo vo)
	{
		this.id = vo.getID();
		this.hospnum = vo.getHospNum();
		this.name = vo.getName();
		this.type = vo.getType();
		this.typeid = vo.getTypeID();
		this.activity = vo.getActivity();
		this.hcp = vo.getHCP();
		this.clinic = vo.getClinic();
		this.appointmenttime = vo.getAppointmentTime();
		this.treatmentaction = vo.getTreatmentAction();
		this.deadline = vo.getDeadline() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDeadline().getBean();
	}

	public ims.ccosched.vo.DoctorsWorkListItemVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

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

	public String getID()
	{
		return this.id;
	}
	public void setID(String value)
	{
		this.id = value;
	}
	public String getHospNum()
	{
		return this.hospnum;
	}
	public void setHospNum(String value)
	{
		this.hospnum = value;
	}
	public String getName()
	{
		return this.name;
	}
	public void setName(String value)
	{
		this.name = value;
	}
	public String getType()
	{
		return this.type;
	}
	public void setType(String value)
	{
		this.type = value;
	}
	public Integer getTypeID()
	{
		return this.typeid;
	}
	public void setTypeID(Integer value)
	{
		this.typeid = value;
	}
	public String getActivity()
	{
		return this.activity;
	}
	public void setActivity(String value)
	{
		this.activity = value;
	}
	public String getHCP()
	{
		return this.hcp;
	}
	public void setHCP(String value)
	{
		this.hcp = value;
	}
	public String getClinic()
	{
		return this.clinic;
	}
	public void setClinic(String value)
	{
		this.clinic = value;
	}
	public String getAppointmentTime()
	{
		return this.appointmenttime;
	}
	public void setAppointmentTime(String value)
	{
		this.appointmenttime = value;
	}
	public String getTreatmentAction()
	{
		return this.treatmentaction;
	}
	public void setTreatmentAction(String value)
	{
		this.treatmentaction = value;
	}
	public ims.framework.utils.beans.DateBean getDeadline()
	{
		return this.deadline;
	}
	public void setDeadline(ims.framework.utils.beans.DateBean value)
	{
		this.deadline = value;
	}

	private String id;
	private String hospnum;
	private String name;
	private String type;
	private Integer typeid;
	private String activity;
	private String hcp;
	private String clinic;
	private String appointmenttime;
	private String treatmentaction;
	private ims.framework.utils.beans.DateBean deadline;
}
