/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/beans/TCIOutcomeForAppointmentDNAVoBean.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 TCIOutcomeForAppointmentDNAVoBean extends ims.vo.ValueObjectBean
{
	public TCIOutcomeForAppointmentDNAVoBean()
	{
	}
	public TCIOutcomeForAppointmentDNAVoBean(ims.RefMan.vo.TCIOutcomeForAppointmentDNAVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.outcome = vo.getOutcome() == null ? null : (ims.vo.LookupInstanceBean)vo.getOutcome().getBean();
		this.changeby = vo.getChangeBy() == null ? null : new ims.vo.RefVoBean(vo.getChangeBy().getBoId(), vo.getChangeBy().getBoVersion());
		this.statusdatetime = vo.getStatusDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getStatusDateTime().getBean();
		this.outcomereason = vo.getOutcomeReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getOutcomeReason().getBean();
		this.cancelledfornonmedicalreason = vo.getCancelledForNonMedicalReason();
		this.canceltheatreappointment = vo.getCancelTheatreAppointment();
		this.tciid = vo.getTciId();
		this.cancellationreason = vo.getCancellationReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getCancellationReason().getBean();
		this.reasoncomments = vo.getReasonComments();
		this.tcihasfuturetheatreappt = vo.getTciHasFutureTheatreAppt();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.RefMan.vo.TCIOutcomeForAppointmentDNAVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.outcome = vo.getOutcome() == null ? null : (ims.vo.LookupInstanceBean)vo.getOutcome().getBean();
		this.changeby = vo.getChangeBy() == null ? null : new ims.vo.RefVoBean(vo.getChangeBy().getBoId(), vo.getChangeBy().getBoVersion());
		this.statusdatetime = vo.getStatusDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getStatusDateTime().getBean();
		this.outcomereason = vo.getOutcomeReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getOutcomeReason().getBean();
		this.cancelledfornonmedicalreason = vo.getCancelledForNonMedicalReason();
		this.canceltheatreappointment = vo.getCancelTheatreAppointment();
		this.tciid = vo.getTciId();
		this.cancellationreason = vo.getCancellationReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getCancellationReason().getBean();
		this.reasoncomments = vo.getReasonComments();
		this.tcihasfuturetheatreappt = vo.getTciHasFutureTheatreAppt();
	}

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

	public ims.RefMan.vo.TCIOutcomeForAppointmentDNAVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.RefMan.vo.TCIOutcomeForAppointmentDNAVo vo = null;
		if(map != null)
			vo = (ims.RefMan.vo.TCIOutcomeForAppointmentDNAVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.RefMan.vo.TCIOutcomeForAppointmentDNAVo();
			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 ims.vo.LookupInstanceBean getOutcome()
	{
		return this.outcome;
	}
	public void setOutcome(ims.vo.LookupInstanceBean value)
	{
		this.outcome = value;
	}
	public ims.vo.RefVoBean getChangeBy()
	{
		return this.changeby;
	}
	public void setChangeBy(ims.vo.RefVoBean value)
	{
		this.changeby = value;
	}
	public ims.framework.utils.beans.DateTimeBean getStatusDateTime()
	{
		return this.statusdatetime;
	}
	public void setStatusDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.statusdatetime = value;
	}
	public ims.vo.LookupInstanceBean getOutcomeReason()
	{
		return this.outcomereason;
	}
	public void setOutcomeReason(ims.vo.LookupInstanceBean value)
	{
		this.outcomereason = value;
	}
	public Boolean getCancelledForNonMedicalReason()
	{
		return this.cancelledfornonmedicalreason;
	}
	public void setCancelledForNonMedicalReason(Boolean value)
	{
		this.cancelledfornonmedicalreason = value;
	}
	public Boolean getCancelTheatreAppointment()
	{
		return this.canceltheatreappointment;
	}
	public void setCancelTheatreAppointment(Boolean value)
	{
		this.canceltheatreappointment = value;
	}
	public Integer getTciId()
	{
		return this.tciid;
	}
	public void setTciId(Integer value)
	{
		this.tciid = value;
	}
	public ims.vo.LookupInstanceBean getCancellationReason()
	{
		return this.cancellationreason;
	}
	public void setCancellationReason(ims.vo.LookupInstanceBean value)
	{
		this.cancellationreason = value;
	}
	public String getReasonComments()
	{
		return this.reasoncomments;
	}
	public void setReasonComments(String value)
	{
		this.reasoncomments = value;
	}
	public Boolean getTciHasFutureTheatreAppt()
	{
		return this.tcihasfuturetheatreappt;
	}
	public void setTciHasFutureTheatreAppt(Boolean value)
	{
		this.tcihasfuturetheatreappt = value;
	}

	private Integer id;
	private int version;
	private ims.vo.LookupInstanceBean outcome;
	private ims.vo.RefVoBean changeby;
	private ims.framework.utils.beans.DateTimeBean statusdatetime;
	private ims.vo.LookupInstanceBean outcomereason;
	private Boolean cancelledfornonmedicalreason;
	private Boolean canceltheatreappointment;
	private Integer tciid;
	private ims.vo.LookupInstanceBean cancellationreason;
	private String reasoncomments;
	private Boolean tcihasfuturetheatreappt;
}
