/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/pathways/vo/beans/PathwayRTTClockImpactVoBean.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 PathwayRTTClockImpactVoBean extends ims.vo.ValueObjectBean
{
	public PathwayRTTClockImpactVoBean()
	{
	}
	public PathwayRTTClockImpactVoBean(ims.pathways.vo.PathwayRTTClockImpactVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.initialclock = vo.getInitialClock() == null ? null : new ims.vo.RefVoBean(vo.getInitialClock().getBoId(), vo.getInitialClock().getBoVersion());
		this.finalclock = vo.getFinalClock() == null ? null : new ims.vo.RefVoBean(vo.getFinalClock().getBoId(), vo.getFinalClock().getBoVersion());
		this.initialrttstatus = vo.getInitialRTTStatus() == null ? null : new ims.vo.RefVoBean(vo.getInitialRTTStatus().getBoId(), vo.getInitialRTTStatus().getBoVersion());
		this.finalrttstatus = vo.getFinalRTTStatus() == null ? null : new ims.vo.RefVoBean(vo.getFinalRTTStatus().getBoId(), vo.getFinalRTTStatus().getBoVersion());
		this.clockstarted = vo.getClockStarted();
		this.clockstopped = vo.getClockStopped();
		this.journey = vo.getJourney() == null ? null : new ims.vo.RefVoBean(vo.getJourney().getBoId(), vo.getJourney().getBoVersion());
		this.source = vo.getSource() == null ? null : (ims.vo.LookupInstanceBean)vo.getSource().getBean();
		this.outcomeevent = vo.getOutcomeEvent() == null ? null : new ims.vo.RefVoBean(vo.getOutcomeEvent().getBoId(), vo.getOutcomeEvent().getBoVersion());
		this.initialclockstate = vo.getInitialClockState() == null ? null : (ims.vo.LookupInstanceBean)vo.getInitialClockState().getBean();
		this.finalclockstate = vo.getFinalClockState() == null ? null : (ims.vo.LookupInstanceBean)vo.getFinalClockState().getBean();
		this.outcomedescription = vo.getOutcomeDescription();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.pathways.vo.PathwayRTTClockImpactVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.initialclock = vo.getInitialClock() == null ? null : new ims.vo.RefVoBean(vo.getInitialClock().getBoId(), vo.getInitialClock().getBoVersion());
		this.finalclock = vo.getFinalClock() == null ? null : new ims.vo.RefVoBean(vo.getFinalClock().getBoId(), vo.getFinalClock().getBoVersion());
		this.initialrttstatus = vo.getInitialRTTStatus() == null ? null : new ims.vo.RefVoBean(vo.getInitialRTTStatus().getBoId(), vo.getInitialRTTStatus().getBoVersion());
		this.finalrttstatus = vo.getFinalRTTStatus() == null ? null : new ims.vo.RefVoBean(vo.getFinalRTTStatus().getBoId(), vo.getFinalRTTStatus().getBoVersion());
		this.clockstarted = vo.getClockStarted();
		this.clockstopped = vo.getClockStopped();
		this.journey = vo.getJourney() == null ? null : new ims.vo.RefVoBean(vo.getJourney().getBoId(), vo.getJourney().getBoVersion());
		this.source = vo.getSource() == null ? null : (ims.vo.LookupInstanceBean)vo.getSource().getBean();
		this.outcomeevent = vo.getOutcomeEvent() == null ? null : new ims.vo.RefVoBean(vo.getOutcomeEvent().getBoId(), vo.getOutcomeEvent().getBoVersion());
		this.initialclockstate = vo.getInitialClockState() == null ? null : (ims.vo.LookupInstanceBean)vo.getInitialClockState().getBean();
		this.finalclockstate = vo.getFinalClockState() == null ? null : (ims.vo.LookupInstanceBean)vo.getFinalClockState().getBean();
		this.outcomedescription = vo.getOutcomeDescription();
	}

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

	public ims.pathways.vo.PathwayRTTClockImpactVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.pathways.vo.PathwayRTTClockImpactVo vo = null;
		if(map != null)
			vo = (ims.pathways.vo.PathwayRTTClockImpactVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.pathways.vo.PathwayRTTClockImpactVo();
			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 getInitialClock()
	{
		return this.initialclock;
	}
	public void setInitialClock(ims.vo.RefVoBean value)
	{
		this.initialclock = value;
	}
	public ims.vo.RefVoBean getFinalClock()
	{
		return this.finalclock;
	}
	public void setFinalClock(ims.vo.RefVoBean value)
	{
		this.finalclock = value;
	}
	public ims.vo.RefVoBean getInitialRTTStatus()
	{
		return this.initialrttstatus;
	}
	public void setInitialRTTStatus(ims.vo.RefVoBean value)
	{
		this.initialrttstatus = value;
	}
	public ims.vo.RefVoBean getFinalRTTStatus()
	{
		return this.finalrttstatus;
	}
	public void setFinalRTTStatus(ims.vo.RefVoBean value)
	{
		this.finalrttstatus = value;
	}
	public Boolean getClockStarted()
	{
		return this.clockstarted;
	}
	public void setClockStarted(Boolean value)
	{
		this.clockstarted = value;
	}
	public Boolean getClockStopped()
	{
		return this.clockstopped;
	}
	public void setClockStopped(Boolean value)
	{
		this.clockstopped = value;
	}
	public ims.vo.RefVoBean getJourney()
	{
		return this.journey;
	}
	public void setJourney(ims.vo.RefVoBean value)
	{
		this.journey = value;
	}
	public ims.vo.LookupInstanceBean getSource()
	{
		return this.source;
	}
	public void setSource(ims.vo.LookupInstanceBean value)
	{
		this.source = value;
	}
	public ims.vo.RefVoBean getOutcomeEvent()
	{
		return this.outcomeevent;
	}
	public void setOutcomeEvent(ims.vo.RefVoBean value)
	{
		this.outcomeevent = value;
	}
	public ims.vo.LookupInstanceBean getInitialClockState()
	{
		return this.initialclockstate;
	}
	public void setInitialClockState(ims.vo.LookupInstanceBean value)
	{
		this.initialclockstate = value;
	}
	public ims.vo.LookupInstanceBean getFinalClockState()
	{
		return this.finalclockstate;
	}
	public void setFinalClockState(ims.vo.LookupInstanceBean value)
	{
		this.finalclockstate = value;
	}
	public String getOutcomeDescription()
	{
		return this.outcomedescription;
	}
	public void setOutcomeDescription(String value)
	{
		this.outcomedescription = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean initialclock;
	private ims.vo.RefVoBean finalclock;
	private ims.vo.RefVoBean initialrttstatus;
	private ims.vo.RefVoBean finalrttstatus;
	private Boolean clockstarted;
	private Boolean clockstopped;
	private ims.vo.RefVoBean journey;
	private ims.vo.LookupInstanceBean source;
	private ims.vo.RefVoBean outcomeevent;
	private ims.vo.LookupInstanceBean initialclockstate;
	private ims.vo.LookupInstanceBean finalclockstate;
	private String outcomedescription;
}
