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

public class CancerMDTMeetingVoBean extends ims.vo.ValueObjectBean
{
	public CancerMDTMeetingVoBean()
	{
	}
	public CancerMDTMeetingVoBean(ims.oncology.vo.CancerMDTMeetingVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.clinicalcontact = vo.getClinicalContact() == null ? null : new ims.vo.RefVoBean(vo.getClinicalContact().getBoId(), vo.getClinicalContact().getBoVersion());
		this.date = vo.getDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDate().getBean();
		this.comorbidityassessment = vo.getCoMorbidityAssessment() == null ? null : (ims.vo.LookupInstanceBean)vo.getCoMorbidityAssessment().getBean();
		this.notes = vo.getNotes();
		this.patientperformancestatus = vo.getPatientPerformanceStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientPerformanceStatus().getBean();
		this.mdtlocation = vo.getMDTLocation() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getMDTLocation().getBean();
		this.associatedcareplan = vo.getAssociatedCarePlan() == null ? null : (ims.oncology.vo.beans.CancerCarePlanShortVoBean)vo.getAssociatedCarePlan().getBean();
		this.otherspresent = vo.getOthersPresent();
		this.invitedhcp = vo.getInvitedHCP() == null ? null : vo.getInvitedHCP().getBeanCollection();
		this.episodeofcare = vo.getEpisodeOfCare() == null ? null : new ims.vo.RefVoBean(vo.getEpisodeOfCare().getBoId(), vo.getEpisodeOfCare().getBoVersion());
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.oncology.vo.CancerMDTMeetingVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.clinicalcontact = vo.getClinicalContact() == null ? null : new ims.vo.RefVoBean(vo.getClinicalContact().getBoId(), vo.getClinicalContact().getBoVersion());
		this.date = vo.getDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDate().getBean();
		this.comorbidityassessment = vo.getCoMorbidityAssessment() == null ? null : (ims.vo.LookupInstanceBean)vo.getCoMorbidityAssessment().getBean();
		this.notes = vo.getNotes();
		this.patientperformancestatus = vo.getPatientPerformanceStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientPerformanceStatus().getBean();
		this.mdtlocation = vo.getMDTLocation() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getMDTLocation().getBean(map);
		this.associatedcareplan = vo.getAssociatedCarePlan() == null ? null : (ims.oncology.vo.beans.CancerCarePlanShortVoBean)vo.getAssociatedCarePlan().getBean(map);
		this.otherspresent = vo.getOthersPresent();
		this.invitedhcp = vo.getInvitedHCP() == null ? null : vo.getInvitedHCP().getBeanCollection();
		this.episodeofcare = vo.getEpisodeOfCare() == null ? null : new ims.vo.RefVoBean(vo.getEpisodeOfCare().getBoId(), vo.getEpisodeOfCare().getBoVersion());
	}

	public ims.oncology.vo.CancerMDTMeetingVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.oncology.vo.CancerMDTMeetingVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.oncology.vo.CancerMDTMeetingVo vo = null;
		if(map != null)
			vo = (ims.oncology.vo.CancerMDTMeetingVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.oncology.vo.CancerMDTMeetingVo();
			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.RefVoBean getCareContext()
	{
		return this.carecontext;
	}
	public void setCareContext(ims.vo.RefVoBean value)
	{
		this.carecontext = value;
	}
	public ims.vo.RefVoBean getClinicalContact()
	{
		return this.clinicalcontact;
	}
	public void setClinicalContact(ims.vo.RefVoBean value)
	{
		this.clinicalcontact = value;
	}
	public ims.framework.utils.beans.DateBean getDate()
	{
		return this.date;
	}
	public void setDate(ims.framework.utils.beans.DateBean value)
	{
		this.date = value;
	}
	public ims.vo.LookupInstanceBean getCoMorbidityAssessment()
	{
		return this.comorbidityassessment;
	}
	public void setCoMorbidityAssessment(ims.vo.LookupInstanceBean value)
	{
		this.comorbidityassessment = value;
	}
	public String getNotes()
	{
		return this.notes;
	}
	public void setNotes(String value)
	{
		this.notes = value;
	}
	public ims.vo.LookupInstanceBean getPatientPerformanceStatus()
	{
		return this.patientperformancestatus;
	}
	public void setPatientPerformanceStatus(ims.vo.LookupInstanceBean value)
	{
		this.patientperformancestatus = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean getMDTLocation()
	{
		return this.mdtlocation;
	}
	public void setMDTLocation(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.mdtlocation = value;
	}
	public ims.oncology.vo.beans.CancerCarePlanShortVoBean getAssociatedCarePlan()
	{
		return this.associatedcareplan;
	}
	public void setAssociatedCarePlan(ims.oncology.vo.beans.CancerCarePlanShortVoBean value)
	{
		this.associatedcareplan = value;
	}
	public String[] getOthersPresent()
	{
		return this.otherspresent;
	}
	public void setOthersPresent(String[] value)
	{
		this.otherspresent = value;
	}
	public ims.oncology.vo.beans.InvitedHCPVoBean[] getInvitedHCP()
	{
		return this.invitedhcp;
	}
	public void setInvitedHCP(ims.oncology.vo.beans.InvitedHCPVoBean[] value)
	{
		this.invitedhcp = value;
	}
	public ims.vo.RefVoBean getEpisodeOfCare()
	{
		return this.episodeofcare;
	}
	public void setEpisodeOfCare(ims.vo.RefVoBean value)
	{
		this.episodeofcare = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean carecontext;
	private ims.vo.RefVoBean clinicalcontact;
	private ims.framework.utils.beans.DateBean date;
	private ims.vo.LookupInstanceBean comorbidityassessment;
	private String notes;
	private ims.vo.LookupInstanceBean patientperformancestatus;
	private ims.core.vo.beans.LocationLiteVoBean mdtlocation;
	private ims.oncology.vo.beans.CancerCarePlanShortVoBean associatedcareplan;
	private String[] otherspresent;
	private ims.oncology.vo.beans.InvitedHCPVoBean[] invitedhcp;
	private ims.vo.RefVoBean episodeofcare;
}
