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

public class PatientJourneyInterfaceVoBean extends ims.vo.ValueObjectBean
{
	public PatientJourneyInterfaceVoBean()
	{
	}
	public PatientJourneyInterfaceVoBean(ims.pathways.vo.PatientJourneyInterfaceVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.pathway = vo.getPathway() == null ? null : (ims.pathways.vo.beans.PathwayLiteVoBean)vo.getPathway().getBean();
		this.startdate = vo.getStartDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getStartDate().getBean();
		this.endedondate = vo.getEndedOnDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getEndedOnDate().getBean();
		this.journeytargets = vo.getJourneyTargets() == null ? null : vo.getJourneyTargets().getBeanCollection();
		this.clockhistory = vo.getClockHistory() == null ? null : vo.getClockHistory().getBeanCollection();
		this.currentstatus = vo.getCurrentStatus() == null ? null : (ims.pathways.vo.beans.PatientJourneyStatusVoBean)vo.getCurrentStatus().getBean();
		this.statushistory = vo.getStatusHistory() == null ? null : vo.getStatusHistory().getBeanCollection();
		this.journeytitle = vo.getJourneyTitle();
		this.journeyevents = vo.getJourneyEvents() == null ? null : vo.getJourneyEvents().getBeanCollection();
		this.pathwaytargets = vo.getPathwayTargets() == null ? null : vo.getPathwayTargets().getBeanCollection();
		this.referral = vo.getReferral() == null ? null : (ims.core.vo.beans.ReferralListVoBean)vo.getReferral().getBean();
		this.linkedcomments = vo.getLinkedComments() == null ? null : vo.getLinkedComments().getBeanCollection();
		this.nextvalidationdate = vo.getNextValidationDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getNextValidationDate().getBean();
		this.currentclock = vo.getCurrentClock() == null ? null : (ims.pathways.vo.beans.PathwayCurrentClockForRttStatusVoBean)vo.getCurrentClock().getBean();
		this.lastvalidationdate = vo.getLastValidationDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getLastValidationDate().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.pathways.vo.PatientJourneyInterfaceVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.pathway = vo.getPathway() == null ? null : (ims.pathways.vo.beans.PathwayLiteVoBean)vo.getPathway().getBean(map);
		this.startdate = vo.getStartDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getStartDate().getBean();
		this.endedondate = vo.getEndedOnDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getEndedOnDate().getBean();
		this.journeytargets = vo.getJourneyTargets() == null ? null : vo.getJourneyTargets().getBeanCollection();
		this.clockhistory = vo.getClockHistory() == null ? null : vo.getClockHistory().getBeanCollection();
		this.currentstatus = vo.getCurrentStatus() == null ? null : (ims.pathways.vo.beans.PatientJourneyStatusVoBean)vo.getCurrentStatus().getBean(map);
		this.statushistory = vo.getStatusHistory() == null ? null : vo.getStatusHistory().getBeanCollection();
		this.journeytitle = vo.getJourneyTitle();
		this.journeyevents = vo.getJourneyEvents() == null ? null : vo.getJourneyEvents().getBeanCollection();
		this.pathwaytargets = vo.getPathwayTargets() == null ? null : vo.getPathwayTargets().getBeanCollection();
		this.referral = vo.getReferral() == null ? null : (ims.core.vo.beans.ReferralListVoBean)vo.getReferral().getBean(map);
		this.linkedcomments = vo.getLinkedComments() == null ? null : vo.getLinkedComments().getBeanCollection();
		this.nextvalidationdate = vo.getNextValidationDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getNextValidationDate().getBean();
		this.currentclock = vo.getCurrentClock() == null ? null : (ims.pathways.vo.beans.PathwayCurrentClockForRttStatusVoBean)vo.getCurrentClock().getBean(map);
		this.lastvalidationdate = vo.getLastValidationDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getLastValidationDate().getBean();
	}

	public ims.pathways.vo.PatientJourneyInterfaceVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.pathways.vo.PatientJourneyInterfaceVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.pathways.vo.PatientJourneyInterfaceVo vo = null;
		if(map != null)
			vo = (ims.pathways.vo.PatientJourneyInterfaceVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.pathways.vo.PatientJourneyInterfaceVo();
			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.pathways.vo.beans.PathwayLiteVoBean getPathway()
	{
		return this.pathway;
	}
	public void setPathway(ims.pathways.vo.beans.PathwayLiteVoBean value)
	{
		this.pathway = value;
	}
	public ims.framework.utils.beans.DateBean getStartDate()
	{
		return this.startdate;
	}
	public void setStartDate(ims.framework.utils.beans.DateBean value)
	{
		this.startdate = value;
	}
	public ims.framework.utils.beans.DateBean getEndedOnDate()
	{
		return this.endedondate;
	}
	public void setEndedOnDate(ims.framework.utils.beans.DateBean value)
	{
		this.endedondate = value;
	}
	public ims.pathways.vo.beans.PatientJourneyJourneyTargetInterfaceVoBean[] getJourneyTargets()
	{
		return this.journeytargets;
	}
	public void setJourneyTargets(ims.pathways.vo.beans.PatientJourneyJourneyTargetInterfaceVoBean[] value)
	{
		this.journeytargets = value;
	}
	public ims.pathways.vo.beans.PathwayClockVoBean[] getClockHistory()
	{
		return this.clockhistory;
	}
	public void setClockHistory(ims.pathways.vo.beans.PathwayClockVoBean[] value)
	{
		this.clockhistory = value;
	}
	public ims.pathways.vo.beans.PatientJourneyStatusVoBean getCurrentStatus()
	{
		return this.currentstatus;
	}
	public void setCurrentStatus(ims.pathways.vo.beans.PatientJourneyStatusVoBean value)
	{
		this.currentstatus = value;
	}
	public ims.pathways.vo.beans.PatientJourneyStatusVoBean[] getStatusHistory()
	{
		return this.statushistory;
	}
	public void setStatusHistory(ims.pathways.vo.beans.PatientJourneyStatusVoBean[] value)
	{
		this.statushistory = value;
	}
	public String getJourneyTitle()
	{
		return this.journeytitle;
	}
	public void setJourneyTitle(String value)
	{
		this.journeytitle = value;
	}
	public ims.pathways.vo.beans.PatientJourneyEventInterfaceVoBean[] getJourneyEvents()
	{
		return this.journeyevents;
	}
	public void setJourneyEvents(ims.pathways.vo.beans.PatientJourneyEventInterfaceVoBean[] value)
	{
		this.journeyevents = value;
	}
	public ims.pathways.vo.beans.PatientJourneyTargetInterfaceVoBean[] getPathwayTargets()
	{
		return this.pathwaytargets;
	}
	public void setPathwayTargets(ims.pathways.vo.beans.PatientJourneyTargetInterfaceVoBean[] value)
	{
		this.pathwaytargets = value;
	}
	public ims.core.vo.beans.ReferralListVoBean getReferral()
	{
		return this.referral;
	}
	public void setReferral(ims.core.vo.beans.ReferralListVoBean value)
	{
		this.referral = value;
	}
	public ims.pathways.vo.beans.PatientJourneyCommentLiteVoBean[] getLinkedComments()
	{
		return this.linkedcomments;
	}
	public void setLinkedComments(ims.pathways.vo.beans.PatientJourneyCommentLiteVoBean[] value)
	{
		this.linkedcomments = value;
	}
	public ims.framework.utils.beans.DateBean getNextValidationDate()
	{
		return this.nextvalidationdate;
	}
	public void setNextValidationDate(ims.framework.utils.beans.DateBean value)
	{
		this.nextvalidationdate = value;
	}
	public ims.pathways.vo.beans.PathwayCurrentClockForRttStatusVoBean getCurrentClock()
	{
		return this.currentclock;
	}
	public void setCurrentClock(ims.pathways.vo.beans.PathwayCurrentClockForRttStatusVoBean value)
	{
		this.currentclock = value;
	}
	public ims.framework.utils.beans.DateBean getLastValidationDate()
	{
		return this.lastvalidationdate;
	}
	public void setLastValidationDate(ims.framework.utils.beans.DateBean value)
	{
		this.lastvalidationdate = value;
	}

	private Integer id;
	private int version;
	private ims.pathways.vo.beans.PathwayLiteVoBean pathway;
	private ims.framework.utils.beans.DateBean startdate;
	private ims.framework.utils.beans.DateBean endedondate;
	private ims.pathways.vo.beans.PatientJourneyJourneyTargetInterfaceVoBean[] journeytargets;
	private ims.pathways.vo.beans.PathwayClockVoBean[] clockhistory;
	private ims.pathways.vo.beans.PatientJourneyStatusVoBean currentstatus;
	private ims.pathways.vo.beans.PatientJourneyStatusVoBean[] statushistory;
	private String journeytitle;
	private ims.pathways.vo.beans.PatientJourneyEventInterfaceVoBean[] journeyevents;
	private ims.pathways.vo.beans.PatientJourneyTargetInterfaceVoBean[] pathwaytargets;
	private ims.core.vo.beans.ReferralListVoBean referral;
	private ims.pathways.vo.beans.PatientJourneyCommentLiteVoBean[] linkedcomments;
	private ims.framework.utils.beans.DateBean nextvalidationdate;
	private ims.pathways.vo.beans.PathwayCurrentClockForRttStatusVoBean currentclock;
	private ims.framework.utils.beans.DateBean lastvalidationdate;
}
