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

public class ServiceMonitorVoBean extends ims.vo.ValueObjectBean
{
	public ServiceMonitorVoBean()
	{
	}
	public ServiceMonitorVoBean(ims.admin.vo.ServiceMonitorVo vo)
	{
		this.servicename = vo.getServiceName();
		this.hits = vo.getHits();
		this.avg = vo.getAvg();
		this.total = vo.getTotal();
		this.stddev = vo.getStdDev();
		this.last = vo.getLast();
		this.min = vo.getMin();
		this.max = vo.getMax();
		this.active = vo.getActive();
		this.avgactive = vo.getAvgActive();
		this.maxactive = vo.getMaxActive();
		this.firstaccess = vo.getFirstAccess() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getFirstAccess().getBean();
		this.lastaccess = vo.getLastAccess() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getLastAccess().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.admin.vo.ServiceMonitorVo vo)
	{
		this.servicename = vo.getServiceName();
		this.hits = vo.getHits();
		this.avg = vo.getAvg();
		this.total = vo.getTotal();
		this.stddev = vo.getStdDev();
		this.last = vo.getLast();
		this.min = vo.getMin();
		this.max = vo.getMax();
		this.active = vo.getActive();
		this.avgactive = vo.getAvgActive();
		this.maxactive = vo.getMaxActive();
		this.firstaccess = vo.getFirstAccess() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getFirstAccess().getBean();
		this.lastaccess = vo.getLastAccess() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getLastAccess().getBean();
	}

	public ims.admin.vo.ServiceMonitorVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.admin.vo.ServiceMonitorVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.admin.vo.ServiceMonitorVo vo = null;
		if(map != null)
			vo = (ims.admin.vo.ServiceMonitorVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.admin.vo.ServiceMonitorVo();
			map.addValueObject(this, vo);
			vo.populate(map, this);
		}
		return vo;
	}

	public String getServiceName()
	{
		return this.servicename;
	}
	public void setServiceName(String value)
	{
		this.servicename = value;
	}
	public Integer getHits()
	{
		return this.hits;
	}
	public void setHits(Integer value)
	{
		this.hits = value;
	}
	public Integer getAvg()
	{
		return this.avg;
	}
	public void setAvg(Integer value)
	{
		this.avg = value;
	}
	public Integer getTotal()
	{
		return this.total;
	}
	public void setTotal(Integer value)
	{
		this.total = value;
	}
	public Float getStdDev()
	{
		return this.stddev;
	}
	public void setStdDev(Float value)
	{
		this.stddev = value;
	}
	public Float getLast()
	{
		return this.last;
	}
	public void setLast(Float value)
	{
		this.last = value;
	}
	public Float getMin()
	{
		return this.min;
	}
	public void setMin(Float value)
	{
		this.min = value;
	}
	public Float getMax()
	{
		return this.max;
	}
	public void setMax(Float value)
	{
		this.max = value;
	}
	public Integer getActive()
	{
		return this.active;
	}
	public void setActive(Integer value)
	{
		this.active = value;
	}
	public Float getAvgActive()
	{
		return this.avgactive;
	}
	public void setAvgActive(Float value)
	{
		this.avgactive = value;
	}
	public Integer getMaxActive()
	{
		return this.maxactive;
	}
	public void setMaxActive(Integer value)
	{
		this.maxactive = value;
	}
	public ims.framework.utils.beans.DateTimeBean getFirstAccess()
	{
		return this.firstaccess;
	}
	public void setFirstAccess(ims.framework.utils.beans.DateTimeBean value)
	{
		this.firstaccess = value;
	}
	public ims.framework.utils.beans.DateTimeBean getLastAccess()
	{
		return this.lastaccess;
	}
	public void setLastAccess(ims.framework.utils.beans.DateTimeBean value)
	{
		this.lastaccess = value;
	}

	private String servicename;
	private Integer hits;
	private Integer avg;
	private Integer total;
	private Float stddev;
	private Float last;
	private Float min;
	private Float max;
	private Integer active;
	private Float avgactive;
	private Integer maxactive;
	private ims.framework.utils.beans.DateTimeBean firstaccess;
	private ims.framework.utils.beans.DateTimeBean lastaccess;
}
