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

public class ConversionDetailsVoBean extends ims.vo.ValueObjectBean
{
	public ConversionDetailsVoBean()
	{
	}
	public ConversionDetailsVoBean(ims.core.vo.ConversionDetailsVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.lastunid = vo.getLastUnid();
		this.lastupdateddatetime = vo.getLastUpdatedDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getLastUpdatedDateTime().getBean();
		this.totalconversions = vo.getTotalConversions();
		this.timeforoneconversion = vo.getTimeForOneConversion();
		this.oneminuteaverage = vo.getOneMinuteAverage();
		this.onehouraverage = vo.getOneHourAverage();
		this.creationdate = vo.getCreationDate() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getCreationDate().getBean();
		this.triggerfrequency = vo.getTriggerFrequency();
		this.lastrun = vo.getLastRun() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getLastRun().getBean();
		this.nextrun = vo.getNextRun() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getNextRun().getBean();
		this.repeatinterval = vo.getRepeatInterval();
		this.configuredscheduledjobid = vo.getConfiguredScheduledJobID();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.ConversionDetailsVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.lastunid = vo.getLastUnid();
		this.lastupdateddatetime = vo.getLastUpdatedDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getLastUpdatedDateTime().getBean();
		this.totalconversions = vo.getTotalConversions();
		this.timeforoneconversion = vo.getTimeForOneConversion();
		this.oneminuteaverage = vo.getOneMinuteAverage();
		this.onehouraverage = vo.getOneHourAverage();
		this.creationdate = vo.getCreationDate() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getCreationDate().getBean();
		this.triggerfrequency = vo.getTriggerFrequency();
		this.lastrun = vo.getLastRun() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getLastRun().getBean();
		this.nextrun = vo.getNextRun() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getNextRun().getBean();
		this.repeatinterval = vo.getRepeatInterval();
		this.configuredscheduledjobid = vo.getConfiguredScheduledJobID();
	}

	public ims.core.vo.ConversionDetailsVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.core.vo.ConversionDetailsVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.core.vo.ConversionDetailsVo vo = null;
		if(map != null)
			vo = (ims.core.vo.ConversionDetailsVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.core.vo.ConversionDetailsVo();
			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 Integer getLastUnid()
	{
		return this.lastunid;
	}
	public void setLastUnid(Integer value)
	{
		this.lastunid = value;
	}
	public ims.framework.utils.beans.DateTimeBean getLastUpdatedDateTime()
	{
		return this.lastupdateddatetime;
	}
	public void setLastUpdatedDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.lastupdateddatetime = value;
	}
	public Integer getTotalConversions()
	{
		return this.totalconversions;
	}
	public void setTotalConversions(Integer value)
	{
		this.totalconversions = value;
	}
	public Integer getTimeForOneConversion()
	{
		return this.timeforoneconversion;
	}
	public void setTimeForOneConversion(Integer value)
	{
		this.timeforoneconversion = value;
	}
	public Integer getOneMinuteAverage()
	{
		return this.oneminuteaverage;
	}
	public void setOneMinuteAverage(Integer value)
	{
		this.oneminuteaverage = value;
	}
	public Integer getOneHourAverage()
	{
		return this.onehouraverage;
	}
	public void setOneHourAverage(Integer value)
	{
		this.onehouraverage = value;
	}
	public ims.framework.utils.beans.DateTimeBean getCreationDate()
	{
		return this.creationdate;
	}
	public void setCreationDate(ims.framework.utils.beans.DateTimeBean value)
	{
		this.creationdate = value;
	}
	public String getTriggerFrequency()
	{
		return this.triggerfrequency;
	}
	public void setTriggerFrequency(String value)
	{
		this.triggerfrequency = value;
	}
	public ims.framework.utils.beans.DateTimeBean getLastRun()
	{
		return this.lastrun;
	}
	public void setLastRun(ims.framework.utils.beans.DateTimeBean value)
	{
		this.lastrun = value;
	}
	public ims.framework.utils.beans.DateTimeBean getNextRun()
	{
		return this.nextrun;
	}
	public void setNextRun(ims.framework.utils.beans.DateTimeBean value)
	{
		this.nextrun = value;
	}
	public String getRepeatInterval()
	{
		return this.repeatinterval;
	}
	public void setRepeatInterval(String value)
	{
		this.repeatinterval = value;
	}
	public Integer getConfiguredScheduledJobID()
	{
		return this.configuredscheduledjobid;
	}
	public void setConfiguredScheduledJobID(Integer value)
	{
		this.configuredscheduledjobid = value;
	}

	private Integer id;
	private int version;
	private Integer lastunid;
	private ims.framework.utils.beans.DateTimeBean lastupdateddatetime;
	private Integer totalconversions;
	private Integer timeforoneconversion;
	private Integer oneminuteaverage;
	private Integer onehouraverage;
	private ims.framework.utils.beans.DateTimeBean creationdate;
	private String triggerfrequency;
	private ims.framework.utils.beans.DateTimeBean lastrun;
	private ims.framework.utils.beans.DateTimeBean nextrun;
	private String repeatinterval;
	private Integer configuredscheduledjobid;
}
