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

public class TriagePriorityKpConfigVoBean extends ims.vo.ValueObjectBean
{
	public TriagePriorityKpConfigVoBean()
	{
	}
	public TriagePriorityKpConfigVoBean(ims.emergency.vo.TriagePriorityKpConfigVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.triagepriority = vo.getTriagePriority() == null ? null : (ims.vo.LookupInstanceBean)vo.getTriagePriority().getBean();
		this.prioritybreachwarningkpi = vo.getPriorityBreachWarningKPI();
		this.prioritybreachedkpi = vo.getPriorityBreachedKPI();
		this.prioritybreachwarningkpitextcolour = vo.getPriorityBreachWarningKPITextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachWarningKPITextColour().getBean();
		this.prioritybreachwarningkpiflashingtext = vo.getPriorityBreachWarningKPIFlashingText() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriorityBreachWarningKPIFlashingText().getBean();
		this.prioritybreachwarningkpiflashingtextcolour = vo.getPriorityBreachWarningKPIFlashingTextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachWarningKPIFlashingTextColour().getBean();
		this.prioritybreachwarningkpibackgroundcolour = vo.getPriorityBreachWarningKPIBackgroundColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachWarningKPIBackgroundColour().getBean();
		this.prioritybreachedkpiflashingtext = vo.getPriorityBreachedKPIFlashingText() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriorityBreachedKPIFlashingText().getBean();
		this.prioritybreachedkpiflashingtextcolour = vo.getPriorityBreachedKPIFlashingTextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachedKPIFlashingTextColour().getBean();
		this.prioritybreachedkpibackgroundcolour = vo.getPriorityBreachedKPIBackgroundColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachedKPIBackgroundColour().getBean();
		this.prioritybreachkpitextcolour = vo.getPriorityBreachKPITextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachKPITextColour().getBean();
		this.defaultrowcolour = vo.getDefaultRowColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getDefaultRowColour().getBean();
		this.defaultfontcolour = vo.getDefaultFontColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getDefaultFontColour().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.emergency.vo.TriagePriorityKpConfigVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.triagepriority = vo.getTriagePriority() == null ? null : (ims.vo.LookupInstanceBean)vo.getTriagePriority().getBean();
		this.prioritybreachwarningkpi = vo.getPriorityBreachWarningKPI();
		this.prioritybreachedkpi = vo.getPriorityBreachedKPI();
		this.prioritybreachwarningkpitextcolour = vo.getPriorityBreachWarningKPITextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachWarningKPITextColour().getBean();
		this.prioritybreachwarningkpiflashingtext = vo.getPriorityBreachWarningKPIFlashingText() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriorityBreachWarningKPIFlashingText().getBean();
		this.prioritybreachwarningkpiflashingtextcolour = vo.getPriorityBreachWarningKPIFlashingTextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachWarningKPIFlashingTextColour().getBean();
		this.prioritybreachwarningkpibackgroundcolour = vo.getPriorityBreachWarningKPIBackgroundColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachWarningKPIBackgroundColour().getBean();
		this.prioritybreachedkpiflashingtext = vo.getPriorityBreachedKPIFlashingText() == null ? null : (ims.vo.LookupInstanceBean)vo.getPriorityBreachedKPIFlashingText().getBean();
		this.prioritybreachedkpiflashingtextcolour = vo.getPriorityBreachedKPIFlashingTextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachedKPIFlashingTextColour().getBean();
		this.prioritybreachedkpibackgroundcolour = vo.getPriorityBreachedKPIBackgroundColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachedKPIBackgroundColour().getBean();
		this.prioritybreachkpitextcolour = vo.getPriorityBreachKPITextColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getPriorityBreachKPITextColour().getBean();
		this.defaultrowcolour = vo.getDefaultRowColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getDefaultRowColour().getBean();
		this.defaultfontcolour = vo.getDefaultFontColour() == null ? null : (ims.framework.utils.beans.ColorBean)vo.getDefaultFontColour().getBean();
	}

	public ims.emergency.vo.TriagePriorityKpConfigVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.emergency.vo.TriagePriorityKpConfigVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.emergency.vo.TriagePriorityKpConfigVo vo = null;
		if(map != null)
			vo = (ims.emergency.vo.TriagePriorityKpConfigVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.emergency.vo.TriagePriorityKpConfigVo();
			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.LookupInstanceBean getTriagePriority()
	{
		return this.triagepriority;
	}
	public void setTriagePriority(ims.vo.LookupInstanceBean value)
	{
		this.triagepriority = value;
	}
	public Integer getPriorityBreachWarningKPI()
	{
		return this.prioritybreachwarningkpi;
	}
	public void setPriorityBreachWarningKPI(Integer value)
	{
		this.prioritybreachwarningkpi = value;
	}
	public Integer getPriorityBreachedKPI()
	{
		return this.prioritybreachedkpi;
	}
	public void setPriorityBreachedKPI(Integer value)
	{
		this.prioritybreachedkpi = value;
	}
	public ims.framework.utils.beans.ColorBean getPriorityBreachWarningKPITextColour()
	{
		return this.prioritybreachwarningkpitextcolour;
	}
	public void setPriorityBreachWarningKPITextColour(ims.framework.utils.beans.ColorBean value)
	{
		this.prioritybreachwarningkpitextcolour = value;
	}
	public ims.vo.LookupInstanceBean getPriorityBreachWarningKPIFlashingText()
	{
		return this.prioritybreachwarningkpiflashingtext;
	}
	public void setPriorityBreachWarningKPIFlashingText(ims.vo.LookupInstanceBean value)
	{
		this.prioritybreachwarningkpiflashingtext = value;
	}
	public ims.framework.utils.beans.ColorBean getPriorityBreachWarningKPIFlashingTextColour()
	{
		return this.prioritybreachwarningkpiflashingtextcolour;
	}
	public void setPriorityBreachWarningKPIFlashingTextColour(ims.framework.utils.beans.ColorBean value)
	{
		this.prioritybreachwarningkpiflashingtextcolour = value;
	}
	public ims.framework.utils.beans.ColorBean getPriorityBreachWarningKPIBackgroundColour()
	{
		return this.prioritybreachwarningkpibackgroundcolour;
	}
	public void setPriorityBreachWarningKPIBackgroundColour(ims.framework.utils.beans.ColorBean value)
	{
		this.prioritybreachwarningkpibackgroundcolour = value;
	}
	public ims.vo.LookupInstanceBean getPriorityBreachedKPIFlashingText()
	{
		return this.prioritybreachedkpiflashingtext;
	}
	public void setPriorityBreachedKPIFlashingText(ims.vo.LookupInstanceBean value)
	{
		this.prioritybreachedkpiflashingtext = value;
	}
	public ims.framework.utils.beans.ColorBean getPriorityBreachedKPIFlashingTextColour()
	{
		return this.prioritybreachedkpiflashingtextcolour;
	}
	public void setPriorityBreachedKPIFlashingTextColour(ims.framework.utils.beans.ColorBean value)
	{
		this.prioritybreachedkpiflashingtextcolour = value;
	}
	public ims.framework.utils.beans.ColorBean getPriorityBreachedKPIBackgroundColour()
	{
		return this.prioritybreachedkpibackgroundcolour;
	}
	public void setPriorityBreachedKPIBackgroundColour(ims.framework.utils.beans.ColorBean value)
	{
		this.prioritybreachedkpibackgroundcolour = value;
	}
	public ims.framework.utils.beans.ColorBean getPriorityBreachKPITextColour()
	{
		return this.prioritybreachkpitextcolour;
	}
	public void setPriorityBreachKPITextColour(ims.framework.utils.beans.ColorBean value)
	{
		this.prioritybreachkpitextcolour = value;
	}
	public ims.framework.utils.beans.ColorBean getDefaultRowColour()
	{
		return this.defaultrowcolour;
	}
	public void setDefaultRowColour(ims.framework.utils.beans.ColorBean value)
	{
		this.defaultrowcolour = value;
	}
	public ims.framework.utils.beans.ColorBean getDefaultFontColour()
	{
		return this.defaultfontcolour;
	}
	public void setDefaultFontColour(ims.framework.utils.beans.ColorBean value)
	{
		this.defaultfontcolour = value;
	}

	private Integer id;
	private int version;
	private ims.vo.LookupInstanceBean triagepriority;
	private Integer prioritybreachwarningkpi;
	private Integer prioritybreachedkpi;
	private ims.framework.utils.beans.ColorBean prioritybreachwarningkpitextcolour;
	private ims.vo.LookupInstanceBean prioritybreachwarningkpiflashingtext;
	private ims.framework.utils.beans.ColorBean prioritybreachwarningkpiflashingtextcolour;
	private ims.framework.utils.beans.ColorBean prioritybreachwarningkpibackgroundcolour;
	private ims.vo.LookupInstanceBean prioritybreachedkpiflashingtext;
	private ims.framework.utils.beans.ColorBean prioritybreachedkpiflashingtextcolour;
	private ims.framework.utils.beans.ColorBean prioritybreachedkpibackgroundcolour;
	private ims.framework.utils.beans.ColorBean prioritybreachkpitextcolour;
	private ims.framework.utils.beans.ColorBean defaultrowcolour;
	private ims.framework.utils.beans.ColorBean defaultfontcolour;
}
