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

public class SessionDetailVoBean extends ims.vo.ValueObjectBean
{
	public SessionDetailVoBean()
	{
	}
	public SessionDetailVoBean(ims.dtomove.vo.SessionDetailVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.machine_id = vo.getMachine_id() == null ? null : (ims.dtomove.vo.beans.RadiotherapyMachineVoBean)vo.getMachine_id().getBean();
		this.maxappts = vo.getMaxAppts();
		this.remappts = vo.getRemAppts();
		this.mininterval = vo.getMinInterval();
		this.remtime = vo.getRemTime();
		this.active = vo.getActive();
		this.internalloc = vo.getInternalLoc() == null ? null : new ims.vo.RefVoBean(vo.getInternalLoc().getBoId(), vo.getInternalLoc().getBoVersion());
		this.duration = vo.getDuration();
		this.modindicator = vo.getModIndicator();
		this.description = vo.getDescription();
		this.status = vo.getStatus();
		this.statusreason = vo.getStatusReason();
		this.profiledetailid = vo.getProfileDetailId();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.dtomove.vo.SessionDetailVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.machine_id = vo.getMachine_id() == null ? null : (ims.dtomove.vo.beans.RadiotherapyMachineVoBean)vo.getMachine_id().getBean(map);
		this.maxappts = vo.getMaxAppts();
		this.remappts = vo.getRemAppts();
		this.mininterval = vo.getMinInterval();
		this.remtime = vo.getRemTime();
		this.active = vo.getActive();
		this.internalloc = vo.getInternalLoc() == null ? null : new ims.vo.RefVoBean(vo.getInternalLoc().getBoId(), vo.getInternalLoc().getBoVersion());
		this.duration = vo.getDuration();
		this.modindicator = vo.getModIndicator();
		this.description = vo.getDescription();
		this.status = vo.getStatus();
		this.statusreason = vo.getStatusReason();
		this.profiledetailid = vo.getProfileDetailId();
	}

	public ims.dtomove.vo.SessionDetailVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.dtomove.vo.SessionDetailVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.dtomove.vo.SessionDetailVo vo = null;
		if(map != null)
			vo = (ims.dtomove.vo.SessionDetailVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.dtomove.vo.SessionDetailVo();
			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.dtomove.vo.beans.RadiotherapyMachineVoBean getMachine_id()
	{
		return this.machine_id;
	}
	public void setMachine_id(ims.dtomove.vo.beans.RadiotherapyMachineVoBean value)
	{
		this.machine_id = value;
	}
	public Integer getMaxAppts()
	{
		return this.maxappts;
	}
	public void setMaxAppts(Integer value)
	{
		this.maxappts = value;
	}
	public Integer getRemAppts()
	{
		return this.remappts;
	}
	public void setRemAppts(Integer value)
	{
		this.remappts = value;
	}
	public Integer getMinInterval()
	{
		return this.mininterval;
	}
	public void setMinInterval(Integer value)
	{
		this.mininterval = value;
	}
	public Integer getRemTime()
	{
		return this.remtime;
	}
	public void setRemTime(Integer value)
	{
		this.remtime = value;
	}
	public String getActive()
	{
		return this.active;
	}
	public void setActive(String value)
	{
		this.active = value;
	}
	public ims.vo.RefVoBean getInternalLoc()
	{
		return this.internalloc;
	}
	public void setInternalLoc(ims.vo.RefVoBean value)
	{
		this.internalloc = value;
	}
	public Integer getDuration()
	{
		return this.duration;
	}
	public void setDuration(Integer value)
	{
		this.duration = value;
	}
	public String getModIndicator()
	{
		return this.modindicator;
	}
	public void setModIndicator(String value)
	{
		this.modindicator = value;
	}
	public String getDescription()
	{
		return this.description;
	}
	public void setDescription(String value)
	{
		this.description = value;
	}
	public Integer getStatus()
	{
		return this.status;
	}
	public void setStatus(Integer value)
	{
		this.status = value;
	}
	public Integer getStatusReason()
	{
		return this.statusreason;
	}
	public void setStatusReason(Integer value)
	{
		this.statusreason = value;
	}
	public Integer getProfileDetailId()
	{
		return this.profiledetailid;
	}
	public void setProfileDetailId(Integer value)
	{
		this.profiledetailid = value;
	}

	private Integer id;
	private int version;
	private ims.dtomove.vo.beans.RadiotherapyMachineVoBean machine_id;
	private Integer maxappts;
	private Integer remappts;
	private Integer mininterval;
	private Integer remtime;
	private String active;
	private ims.vo.RefVoBean internalloc;
	private Integer duration;
	private String modindicator;
	private String description;
	private Integer status;
	private Integer statusreason;
	private Integer profiledetailid;
}
