/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/beans/PatientElectiveListElectiveTCIVoBean.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 PatientElectiveListElectiveTCIVoBean extends ims.vo.ValueObjectBean
{
	public PatientElectiveListElectiveTCIVoBean()
	{
	}
	public PatientElectiveListElectiveTCIVoBean(ims.RefMan.vo.PatientElectiveListElectiveTCIVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.tcidate = vo.getTCIDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getTCIDate().getBean();
		this.tcitime = vo.getTCITime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getTCITime().getBean();
		this.tcioffermethod = vo.getTCIOfferMethod() == null ? null : (ims.vo.LookupInstanceBean)vo.getTCIOfferMethod().getBean();
		this.datetcioffered = vo.getDateTCIOffered() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTCIOffered().getBean();
		this.datetciaccepted = vo.getDateTCIAccepted() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTCIAccepted().getBean();
		this.appointment = vo.getAppointment() == null ? null : (ims.scheduling.vo.beans.BookingAppointmentTheatreVoBean)vo.getAppointment().getBean();
		this.session = vo.getSession() == null ? null : new ims.vo.RefVoBean(vo.getSession().getBoId(), vo.getSession().getBoVersion());
		this.comments = vo.getComments();
		this.planningelective = vo.getPlanningElective() == null ? null : (ims.vo.LookupInstanceBean)vo.getPlanningElective().getBean();
		this.tciward = vo.getTCIWard() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getTCIWard().getBean();
		this.tcibed = vo.getTCIBed();
		this.tciconsultant = vo.getTCIConsultant() == null ? null : new ims.vo.RefVoBean(vo.getTCIConsultant().getBoId(), vo.getTCIConsultant().getBoVersion());
		this.currentoutcome = vo.getCurrentOutcome() == null ? null : (ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean)vo.getCurrentOutcome().getBean();
		this.outcomehistory = vo.getOutcomeHistory() == null ? null : vo.getOutcomeHistory().getBeanCollection();
		this.isactive = vo.getIsActive();
		this.tcihospital = vo.getTCIHospital() == null ? null : new ims.vo.RefVoBean(vo.getTCIHospital().getBoId(), vo.getTCIHospital().getBoVersion());
		this.rttbreachreason = vo.getRTTBreachReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getRTTBreachReason().getBean();
		this.rttbreachcomment = vo.getRTTBreachComment();
		this.reasondeclined28 = vo.getReasonDeclined28() == null ? null : (ims.vo.LookupInstanceBean)vo.getReasonDeclined28().getBean();
		this.wasreasonable28dayoffermade = vo.getWasReasonable28dayOfferMade();
		this.daytcidate28offered = vo.getDayTCIDate28Offered() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDayTCIDate28Offered().getBean();
		this.date28ofoffer = vo.getDate28OfOffer() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDate28OfOffer().getBean();
		this.subjectto28dayrule = vo.getSubjectTo28DayRule();
		this.rule28dayperiodstart = vo.getRule28DayPeriodStart() == null ? null : (ims.framework.utils.beans.DateBean)vo.getRule28DayPeriodStart().getBean();
		this.rule28daystatus = vo.getRule28DayStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getRule28DayStatus().getBean();
		this.systeminformation = vo.getSystemInformation() == null ? null : (ims.vo.SysInfoBean)vo.getSystemInformation().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.RefMan.vo.PatientElectiveListElectiveTCIVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.tcidate = vo.getTCIDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getTCIDate().getBean();
		this.tcitime = vo.getTCITime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getTCITime().getBean();
		this.tcioffermethod = vo.getTCIOfferMethod() == null ? null : (ims.vo.LookupInstanceBean)vo.getTCIOfferMethod().getBean();
		this.datetcioffered = vo.getDateTCIOffered() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTCIOffered().getBean();
		this.datetciaccepted = vo.getDateTCIAccepted() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTCIAccepted().getBean();
		this.appointment = vo.getAppointment() == null ? null : (ims.scheduling.vo.beans.BookingAppointmentTheatreVoBean)vo.getAppointment().getBean(map);
		this.session = vo.getSession() == null ? null : new ims.vo.RefVoBean(vo.getSession().getBoId(), vo.getSession().getBoVersion());
		this.comments = vo.getComments();
		this.planningelective = vo.getPlanningElective() == null ? null : (ims.vo.LookupInstanceBean)vo.getPlanningElective().getBean();
		this.tciward = vo.getTCIWard() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getTCIWard().getBean(map);
		this.tcibed = vo.getTCIBed();
		this.tciconsultant = vo.getTCIConsultant() == null ? null : new ims.vo.RefVoBean(vo.getTCIConsultant().getBoId(), vo.getTCIConsultant().getBoVersion());
		this.currentoutcome = vo.getCurrentOutcome() == null ? null : (ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean)vo.getCurrentOutcome().getBean(map);
		this.outcomehistory = vo.getOutcomeHistory() == null ? null : vo.getOutcomeHistory().getBeanCollection();
		this.isactive = vo.getIsActive();
		this.tcihospital = vo.getTCIHospital() == null ? null : new ims.vo.RefVoBean(vo.getTCIHospital().getBoId(), vo.getTCIHospital().getBoVersion());
		this.rttbreachreason = vo.getRTTBreachReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getRTTBreachReason().getBean();
		this.rttbreachcomment = vo.getRTTBreachComment();
		this.reasondeclined28 = vo.getReasonDeclined28() == null ? null : (ims.vo.LookupInstanceBean)vo.getReasonDeclined28().getBean();
		this.wasreasonable28dayoffermade = vo.getWasReasonable28dayOfferMade();
		this.daytcidate28offered = vo.getDayTCIDate28Offered() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDayTCIDate28Offered().getBean();
		this.date28ofoffer = vo.getDate28OfOffer() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDate28OfOffer().getBean();
		this.subjectto28dayrule = vo.getSubjectTo28DayRule();
		this.rule28dayperiodstart = vo.getRule28DayPeriodStart() == null ? null : (ims.framework.utils.beans.DateBean)vo.getRule28DayPeriodStart().getBean();
		this.rule28daystatus = vo.getRule28DayStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getRule28DayStatus().getBean();
		this.systeminformation = vo.getSystemInformation() == null ? null : (ims.vo.SysInfoBean)vo.getSystemInformation().getBean();
	}

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

	public ims.RefMan.vo.PatientElectiveListElectiveTCIVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.RefMan.vo.PatientElectiveListElectiveTCIVo vo = null;
		if(map != null)
			vo = (ims.RefMan.vo.PatientElectiveListElectiveTCIVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.RefMan.vo.PatientElectiveListElectiveTCIVo();
			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.framework.utils.beans.DateBean getTCIDate()
	{
		return this.tcidate;
	}
	public void setTCIDate(ims.framework.utils.beans.DateBean value)
	{
		this.tcidate = value;
	}
	public ims.framework.utils.beans.TimeBean getTCITime()
	{
		return this.tcitime;
	}
	public void setTCITime(ims.framework.utils.beans.TimeBean value)
	{
		this.tcitime = value;
	}
	public ims.vo.LookupInstanceBean getTCIOfferMethod()
	{
		return this.tcioffermethod;
	}
	public void setTCIOfferMethod(ims.vo.LookupInstanceBean value)
	{
		this.tcioffermethod = value;
	}
	public ims.framework.utils.beans.DateBean getDateTCIOffered()
	{
		return this.datetcioffered;
	}
	public void setDateTCIOffered(ims.framework.utils.beans.DateBean value)
	{
		this.datetcioffered = value;
	}
	public ims.framework.utils.beans.DateBean getDateTCIAccepted()
	{
		return this.datetciaccepted;
	}
	public void setDateTCIAccepted(ims.framework.utils.beans.DateBean value)
	{
		this.datetciaccepted = value;
	}
	public ims.scheduling.vo.beans.BookingAppointmentTheatreVoBean getAppointment()
	{
		return this.appointment;
	}
	public void setAppointment(ims.scheduling.vo.beans.BookingAppointmentTheatreVoBean value)
	{
		this.appointment = value;
	}
	public ims.vo.RefVoBean getSession()
	{
		return this.session;
	}
	public void setSession(ims.vo.RefVoBean value)
	{
		this.session = value;
	}
	public String getComments()
	{
		return this.comments;
	}
	public void setComments(String value)
	{
		this.comments = value;
	}
	public ims.vo.LookupInstanceBean getPlanningElective()
	{
		return this.planningelective;
	}
	public void setPlanningElective(ims.vo.LookupInstanceBean value)
	{
		this.planningelective = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean getTCIWard()
	{
		return this.tciward;
	}
	public void setTCIWard(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.tciward = value;
	}
	public String getTCIBed()
	{
		return this.tcibed;
	}
	public void setTCIBed(String value)
	{
		this.tcibed = value;
	}
	public ims.vo.RefVoBean getTCIConsultant()
	{
		return this.tciconsultant;
	}
	public void setTCIConsultant(ims.vo.RefVoBean value)
	{
		this.tciconsultant = value;
	}
	public ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean getCurrentOutcome()
	{
		return this.currentoutcome;
	}
	public void setCurrentOutcome(ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean value)
	{
		this.currentoutcome = value;
	}
	public ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean[] getOutcomeHistory()
	{
		return this.outcomehistory;
	}
	public void setOutcomeHistory(ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean[] value)
	{
		this.outcomehistory = value;
	}
	public Boolean getIsActive()
	{
		return this.isactive;
	}
	public void setIsActive(Boolean value)
	{
		this.isactive = value;
	}
	public ims.vo.RefVoBean getTCIHospital()
	{
		return this.tcihospital;
	}
	public void setTCIHospital(ims.vo.RefVoBean value)
	{
		this.tcihospital = value;
	}
	public ims.vo.LookupInstanceBean getRTTBreachReason()
	{
		return this.rttbreachreason;
	}
	public void setRTTBreachReason(ims.vo.LookupInstanceBean value)
	{
		this.rttbreachreason = value;
	}
	public String getRTTBreachComment()
	{
		return this.rttbreachcomment;
	}
	public void setRTTBreachComment(String value)
	{
		this.rttbreachcomment = value;
	}
	public ims.vo.LookupInstanceBean getReasonDeclined28()
	{
		return this.reasondeclined28;
	}
	public void setReasonDeclined28(ims.vo.LookupInstanceBean value)
	{
		this.reasondeclined28 = value;
	}
	public Boolean getWasReasonable28dayOfferMade()
	{
		return this.wasreasonable28dayoffermade;
	}
	public void setWasReasonable28dayOfferMade(Boolean value)
	{
		this.wasreasonable28dayoffermade = value;
	}
	public ims.framework.utils.beans.DateBean getDayTCIDate28Offered()
	{
		return this.daytcidate28offered;
	}
	public void setDayTCIDate28Offered(ims.framework.utils.beans.DateBean value)
	{
		this.daytcidate28offered = value;
	}
	public ims.framework.utils.beans.DateBean getDate28OfOffer()
	{
		return this.date28ofoffer;
	}
	public void setDate28OfOffer(ims.framework.utils.beans.DateBean value)
	{
		this.date28ofoffer = value;
	}
	public Boolean getSubjectTo28DayRule()
	{
		return this.subjectto28dayrule;
	}
	public void setSubjectTo28DayRule(Boolean value)
	{
		this.subjectto28dayrule = value;
	}
	public ims.framework.utils.beans.DateBean getRule28DayPeriodStart()
	{
		return this.rule28dayperiodstart;
	}
	public void setRule28DayPeriodStart(ims.framework.utils.beans.DateBean value)
	{
		this.rule28dayperiodstart = value;
	}
	public ims.vo.LookupInstanceBean getRule28DayStatus()
	{
		return this.rule28daystatus;
	}
	public void setRule28DayStatus(ims.vo.LookupInstanceBean value)
	{
		this.rule28daystatus = value;
	}
	public ims.vo.SysInfoBean getSystemInformation()
	{
		return this.systeminformation;
	}
	public void setSystemInformation(ims.vo.SysInfoBean value)
	{
		this.systeminformation = value;
	}

	private Integer id;
	private int version;
	private ims.framework.utils.beans.DateBean tcidate;
	private ims.framework.utils.beans.TimeBean tcitime;
	private ims.vo.LookupInstanceBean tcioffermethod;
	private ims.framework.utils.beans.DateBean datetcioffered;
	private ims.framework.utils.beans.DateBean datetciaccepted;
	private ims.scheduling.vo.beans.BookingAppointmentTheatreVoBean appointment;
	private ims.vo.RefVoBean session;
	private String comments;
	private ims.vo.LookupInstanceBean planningelective;
	private ims.core.vo.beans.LocationLiteVoBean tciward;
	private String tcibed;
	private ims.vo.RefVoBean tciconsultant;
	private ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean currentoutcome;
	private ims.RefMan.vo.beans.TCIOutcomeForPatientElectiveListVoBean[] outcomehistory;
	private Boolean isactive;
	private ims.vo.RefVoBean tcihospital;
	private ims.vo.LookupInstanceBean rttbreachreason;
	private String rttbreachcomment;
	private ims.vo.LookupInstanceBean reasondeclined28;
	private Boolean wasreasonable28dayoffermade;
	private ims.framework.utils.beans.DateBean daytcidate28offered;
	private ims.framework.utils.beans.DateBean date28ofoffer;
	private Boolean subjectto28dayrule;
	private ims.framework.utils.beans.DateBean rule28dayperiodstart;
	private ims.vo.LookupInstanceBean rule28daystatus;
	private ims.vo.SysInfoBean systeminformation;
}
