/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/dtomove/vo/beans/ProfileVoBean.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 ProfileVoBean extends ims.vo.ValueObjectBean
{
	public ProfileVoBean()
	{
	}
	public ProfileVoBean(ims.dtomove.vo.ProfileVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.activitygroup = vo.getActivityGroup() == null ? null : new ims.vo.RefVoBean(vo.getActivityGroup().getBoId(), vo.getActivityGroup().getBoVersion());
		this.location = vo.getLocation() == null ? null : new ims.vo.RefVoBean(vo.getLocation().getBoId(), vo.getLocation().getBoVersion());
		this.name = vo.getName();
		this.schedulecategory = vo.getScheduleCategory();
		this.starttime = vo.getStartTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getStartTime().getBean();
		this.endtime = vo.getEndTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getEndTime().getBean();
		this.efffrm = vo.getEffFrm() == null ? null : (ims.framework.utils.beans.DateBean)vo.getEffFrm().getBean();
		this.effto = vo.getEffTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getEffTo().getBean();
		this.maxnoappts = vo.getMaxNoAppts();
		this.intervaltype = vo.getIntervalType();
		this.intervalsize = vo.getIntervalSize();
		this.schedulingtype = vo.getSchedulingType();
		this.lastappinterval = vo.getLastAppInterval();
		this.cmdextvalue = vo.getCmdExtValue();
		this.specclinic = vo.getSpecClinic();
		this.roundatttime = vo.getRoundAttTime();
		this.lastgendate = vo.getLastGenDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getLastGenDate().getBean();
		this.isschmon = vo.getIsSchMon();
		this.isschtue = vo.getIsSchTue();
		this.isschwed = vo.getIsSchWed();
		this.isschthur = vo.getIsSchThur();
		this.isschfri = vo.getIsSchFri();
		this.isschsat = vo.getIsSchSat();
		this.isschsun = vo.getIsSchSun();
		this.isweek1 = vo.getIsWeek1();
		this.isweek2 = vo.getIsWeek2();
		this.isweek3 = vo.getIsWeek3();
		this.isweek4 = vo.getIsWeek4();
		this.isweek5 = vo.getIsWeek5();
		this.isactive = vo.getIsActive();
		this.minint = vo.getMinInt();
		this.contarr = vo.getContArr();
		this.contlocation = vo.getContLocation();
		this.specialty = vo.getSpecialty();
		if(vo.getProfileDetails() != null)
		{
			this.profiledetails = new ims.vo.RefVoBean[vo.getProfileDetails().size()];
			for(int profiledetails_i = 0; profiledetails_i < vo.getProfileDetails().size(); profiledetails_i++)
			{
				this.profiledetails[profiledetails_i] = new ims.vo.RefVoBean(vo.getProfileDetails().get(profiledetails_i).getBoId(),vo.getProfileDetails().get(profiledetails_i).getBoVersion());
			}
		}
		if(vo.getProfileListOwner() != null)
		{
			this.profilelistowner = new ims.vo.RefVoBean[vo.getProfileListOwner().size()];
			for(int profilelistowner_i = 0; profilelistowner_i < vo.getProfileListOwner().size(); profilelistowner_i++)
			{
				this.profilelistowner[profilelistowner_i] = new ims.vo.RefVoBean(vo.getProfileListOwner().get(profilelistowner_i).getBoId(),vo.getProfileListOwner().get(profilelistowner_i).getBoVersion());
			}
		}
		if(vo.getProfileUsers() != null)
		{
			this.profileusers = new ims.vo.RefVoBean[vo.getProfileUsers().size()];
			for(int profileusers_i = 0; profileusers_i < vo.getProfileUsers().size(); profileusers_i++)
			{
				this.profileusers[profileusers_i] = new ims.vo.RefVoBean(vo.getProfileUsers().get(profileusers_i).getBoId(),vo.getProfileUsers().get(profileusers_i).getBoVersion());
			}
		}
		if(vo.getExclusionDates() != null)
		{
			this.exclusiondates = new ims.vo.RefVoBean[vo.getExclusionDates().size()];
			for(int exclusiondates_i = 0; exclusiondates_i < vo.getExclusionDates().size(); exclusiondates_i++)
			{
				this.exclusiondates[exclusiondates_i] = new ims.vo.RefVoBean(vo.getExclusionDates().get(exclusiondates_i).getBoId(),vo.getExclusionDates().get(exclusiondates_i).getBoVersion());
			}
		}
		if(vo.getExclusionTimes() != null)
		{
			this.exclusiontimes = new ims.vo.RefVoBean[vo.getExclusionTimes().size()];
			for(int exclusiontimes_i = 0; exclusiontimes_i < vo.getExclusionTimes().size(); exclusiontimes_i++)
			{
				this.exclusiontimes[exclusiontimes_i] = new ims.vo.RefVoBean(vo.getExclusionTimes().get(exclusiontimes_i).getBoId(),vo.getExclusionTimes().get(exclusiontimes_i).getBoVersion());
			}
		}
		if(vo.getActions() != null)
		{
			this.actions = new ims.vo.RefVoBean[vo.getActions().size()];
			for(int actions_i = 0; actions_i < vo.getActions().size(); actions_i++)
			{
				this.actions[actions_i] = new ims.vo.RefVoBean(vo.getActions().get(actions_i).getBoId(),vo.getActions().get(actions_i).getBoVersion());
			}
		}
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.dtomove.vo.ProfileVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.activitygroup = vo.getActivityGroup() == null ? null : new ims.vo.RefVoBean(vo.getActivityGroup().getBoId(), vo.getActivityGroup().getBoVersion());
		this.location = vo.getLocation() == null ? null : new ims.vo.RefVoBean(vo.getLocation().getBoId(), vo.getLocation().getBoVersion());
		this.name = vo.getName();
		this.schedulecategory = vo.getScheduleCategory();
		this.starttime = vo.getStartTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getStartTime().getBean();
		this.endtime = vo.getEndTime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getEndTime().getBean();
		this.efffrm = vo.getEffFrm() == null ? null : (ims.framework.utils.beans.DateBean)vo.getEffFrm().getBean();
		this.effto = vo.getEffTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getEffTo().getBean();
		this.maxnoappts = vo.getMaxNoAppts();
		this.intervaltype = vo.getIntervalType();
		this.intervalsize = vo.getIntervalSize();
		this.schedulingtype = vo.getSchedulingType();
		this.lastappinterval = vo.getLastAppInterval();
		this.cmdextvalue = vo.getCmdExtValue();
		this.specclinic = vo.getSpecClinic();
		this.roundatttime = vo.getRoundAttTime();
		this.lastgendate = vo.getLastGenDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getLastGenDate().getBean();
		this.isschmon = vo.getIsSchMon();
		this.isschtue = vo.getIsSchTue();
		this.isschwed = vo.getIsSchWed();
		this.isschthur = vo.getIsSchThur();
		this.isschfri = vo.getIsSchFri();
		this.isschsat = vo.getIsSchSat();
		this.isschsun = vo.getIsSchSun();
		this.isweek1 = vo.getIsWeek1();
		this.isweek2 = vo.getIsWeek2();
		this.isweek3 = vo.getIsWeek3();
		this.isweek4 = vo.getIsWeek4();
		this.isweek5 = vo.getIsWeek5();
		this.isactive = vo.getIsActive();
		this.minint = vo.getMinInt();
		this.contarr = vo.getContArr();
		this.contlocation = vo.getContLocation();
		this.specialty = vo.getSpecialty();
		if(vo.getProfileDetails() != null)
		{
			this.profiledetails = new ims.vo.RefVoBean[vo.getProfileDetails().size()];
			for(int profiledetails_i = 0; profiledetails_i < vo.getProfileDetails().size(); profiledetails_i++)
			{
				this.profiledetails[profiledetails_i] = new ims.vo.RefVoBean(vo.getProfileDetails().get(profiledetails_i).getBoId(),vo.getProfileDetails().get(profiledetails_i).getBoVersion());
			}
		}
		if(vo.getProfileListOwner() != null)
		{
			this.profilelistowner = new ims.vo.RefVoBean[vo.getProfileListOwner().size()];
			for(int profilelistowner_i = 0; profilelistowner_i < vo.getProfileListOwner().size(); profilelistowner_i++)
			{
				this.profilelistowner[profilelistowner_i] = new ims.vo.RefVoBean(vo.getProfileListOwner().get(profilelistowner_i).getBoId(),vo.getProfileListOwner().get(profilelistowner_i).getBoVersion());
			}
		}
		if(vo.getProfileUsers() != null)
		{
			this.profileusers = new ims.vo.RefVoBean[vo.getProfileUsers().size()];
			for(int profileusers_i = 0; profileusers_i < vo.getProfileUsers().size(); profileusers_i++)
			{
				this.profileusers[profileusers_i] = new ims.vo.RefVoBean(vo.getProfileUsers().get(profileusers_i).getBoId(),vo.getProfileUsers().get(profileusers_i).getBoVersion());
			}
		}
		if(vo.getExclusionDates() != null)
		{
			this.exclusiondates = new ims.vo.RefVoBean[vo.getExclusionDates().size()];
			for(int exclusiondates_i = 0; exclusiondates_i < vo.getExclusionDates().size(); exclusiondates_i++)
			{
				this.exclusiondates[exclusiondates_i] = new ims.vo.RefVoBean(vo.getExclusionDates().get(exclusiondates_i).getBoId(),vo.getExclusionDates().get(exclusiondates_i).getBoVersion());
			}
		}
		if(vo.getExclusionTimes() != null)
		{
			this.exclusiontimes = new ims.vo.RefVoBean[vo.getExclusionTimes().size()];
			for(int exclusiontimes_i = 0; exclusiontimes_i < vo.getExclusionTimes().size(); exclusiontimes_i++)
			{
				this.exclusiontimes[exclusiontimes_i] = new ims.vo.RefVoBean(vo.getExclusionTimes().get(exclusiontimes_i).getBoId(),vo.getExclusionTimes().get(exclusiontimes_i).getBoVersion());
			}
		}
		if(vo.getActions() != null)
		{
			this.actions = new ims.vo.RefVoBean[vo.getActions().size()];
			for(int actions_i = 0; actions_i < vo.getActions().size(); actions_i++)
			{
				this.actions[actions_i] = new ims.vo.RefVoBean(vo.getActions().get(actions_i).getBoId(),vo.getActions().get(actions_i).getBoVersion());
			}
		}
	}

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

	public ims.dtomove.vo.ProfileVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.dtomove.vo.ProfileVo vo = null;
		if(map != null)
			vo = (ims.dtomove.vo.ProfileVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.dtomove.vo.ProfileVo();
			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 getActivityGroup()
	{
		return this.activitygroup;
	}
	public void setActivityGroup(ims.vo.RefVoBean value)
	{
		this.activitygroup = value;
	}
	public ims.vo.RefVoBean getLocation()
	{
		return this.location;
	}
	public void setLocation(ims.vo.RefVoBean value)
	{
		this.location = value;
	}
	public String getName()
	{
		return this.name;
	}
	public void setName(String value)
	{
		this.name = value;
	}
	public Integer getScheduleCategory()
	{
		return this.schedulecategory;
	}
	public void setScheduleCategory(Integer value)
	{
		this.schedulecategory = value;
	}
	public ims.framework.utils.beans.TimeBean getStartTime()
	{
		return this.starttime;
	}
	public void setStartTime(ims.framework.utils.beans.TimeBean value)
	{
		this.starttime = value;
	}
	public ims.framework.utils.beans.TimeBean getEndTime()
	{
		return this.endtime;
	}
	public void setEndTime(ims.framework.utils.beans.TimeBean value)
	{
		this.endtime = value;
	}
	public ims.framework.utils.beans.DateBean getEffFrm()
	{
		return this.efffrm;
	}
	public void setEffFrm(ims.framework.utils.beans.DateBean value)
	{
		this.efffrm = value;
	}
	public ims.framework.utils.beans.DateBean getEffTo()
	{
		return this.effto;
	}
	public void setEffTo(ims.framework.utils.beans.DateBean value)
	{
		this.effto = value;
	}
	public Integer getMaxNoAppts()
	{
		return this.maxnoappts;
	}
	public void setMaxNoAppts(Integer value)
	{
		this.maxnoappts = value;
	}
	public Integer getIntervalType()
	{
		return this.intervaltype;
	}
	public void setIntervalType(Integer value)
	{
		this.intervaltype = value;
	}
	public Integer getIntervalSize()
	{
		return this.intervalsize;
	}
	public void setIntervalSize(Integer value)
	{
		this.intervalsize = value;
	}
	public Integer getSchedulingType()
	{
		return this.schedulingtype;
	}
	public void setSchedulingType(Integer value)
	{
		this.schedulingtype = value;
	}
	public Integer getLastAppInterval()
	{
		return this.lastappinterval;
	}
	public void setLastAppInterval(Integer value)
	{
		this.lastappinterval = value;
	}
	public String getCmdExtValue()
	{
		return this.cmdextvalue;
	}
	public void setCmdExtValue(String value)
	{
		this.cmdextvalue = value;
	}
	public String getSpecClinic()
	{
		return this.specclinic;
	}
	public void setSpecClinic(String value)
	{
		this.specclinic = value;
	}
	public Integer getRoundAttTime()
	{
		return this.roundatttime;
	}
	public void setRoundAttTime(Integer value)
	{
		this.roundatttime = value;
	}
	public ims.framework.utils.beans.DateBean getLastGenDate()
	{
		return this.lastgendate;
	}
	public void setLastGenDate(ims.framework.utils.beans.DateBean value)
	{
		this.lastgendate = value;
	}
	public String getIsSchMon()
	{
		return this.isschmon;
	}
	public void setIsSchMon(String value)
	{
		this.isschmon = value;
	}
	public String getIsSchTue()
	{
		return this.isschtue;
	}
	public void setIsSchTue(String value)
	{
		this.isschtue = value;
	}
	public String getIsSchWed()
	{
		return this.isschwed;
	}
	public void setIsSchWed(String value)
	{
		this.isschwed = value;
	}
	public String getIsSchThur()
	{
		return this.isschthur;
	}
	public void setIsSchThur(String value)
	{
		this.isschthur = value;
	}
	public String getIsSchFri()
	{
		return this.isschfri;
	}
	public void setIsSchFri(String value)
	{
		this.isschfri = value;
	}
	public String getIsSchSat()
	{
		return this.isschsat;
	}
	public void setIsSchSat(String value)
	{
		this.isschsat = value;
	}
	public String getIsSchSun()
	{
		return this.isschsun;
	}
	public void setIsSchSun(String value)
	{
		this.isschsun = value;
	}
	public String getIsWeek1()
	{
		return this.isweek1;
	}
	public void setIsWeek1(String value)
	{
		this.isweek1 = value;
	}
	public String getIsWeek2()
	{
		return this.isweek2;
	}
	public void setIsWeek2(String value)
	{
		this.isweek2 = value;
	}
	public String getIsWeek3()
	{
		return this.isweek3;
	}
	public void setIsWeek3(String value)
	{
		this.isweek3 = value;
	}
	public String getIsWeek4()
	{
		return this.isweek4;
	}
	public void setIsWeek4(String value)
	{
		this.isweek4 = value;
	}
	public String getIsWeek5()
	{
		return this.isweek5;
	}
	public void setIsWeek5(String value)
	{
		this.isweek5 = value;
	}
	public String getIsActive()
	{
		return this.isactive;
	}
	public void setIsActive(String value)
	{
		this.isactive = value;
	}
	public Integer getMinInt()
	{
		return this.minint;
	}
	public void setMinInt(Integer value)
	{
		this.minint = value;
	}
	public String getContArr()
	{
		return this.contarr;
	}
	public void setContArr(String value)
	{
		this.contarr = value;
	}
	public Integer getContLocation()
	{
		return this.contlocation;
	}
	public void setContLocation(Integer value)
	{
		this.contlocation = value;
	}
	public Integer getSpecialty()
	{
		return this.specialty;
	}
	public void setSpecialty(Integer value)
	{
		this.specialty = value;
	}
	public ims.vo.RefVoBean[] getProfileDetails()
	{
		return this.profiledetails;
	}
	public void setProfileDetails(ims.vo.RefVoBean[] value)
	{
		this.profiledetails = value;
	}
	public ims.vo.RefVoBean[] getProfileListOwner()
	{
		return this.profilelistowner;
	}
	public void setProfileListOwner(ims.vo.RefVoBean[] value)
	{
		this.profilelistowner = value;
	}
	public ims.vo.RefVoBean[] getProfileUsers()
	{
		return this.profileusers;
	}
	public void setProfileUsers(ims.vo.RefVoBean[] value)
	{
		this.profileusers = value;
	}
	public ims.vo.RefVoBean[] getExclusionDates()
	{
		return this.exclusiondates;
	}
	public void setExclusionDates(ims.vo.RefVoBean[] value)
	{
		this.exclusiondates = value;
	}
	public ims.vo.RefVoBean[] getExclusionTimes()
	{
		return this.exclusiontimes;
	}
	public void setExclusionTimes(ims.vo.RefVoBean[] value)
	{
		this.exclusiontimes = value;
	}
	public ims.vo.RefVoBean[] getActions()
	{
		return this.actions;
	}
	public void setActions(ims.vo.RefVoBean[] value)
	{
		this.actions = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean activitygroup;
	private ims.vo.RefVoBean location;
	private String name;
	private Integer schedulecategory;
	private ims.framework.utils.beans.TimeBean starttime;
	private ims.framework.utils.beans.TimeBean endtime;
	private ims.framework.utils.beans.DateBean efffrm;
	private ims.framework.utils.beans.DateBean effto;
	private Integer maxnoappts;
	private Integer intervaltype;
	private Integer intervalsize;
	private Integer schedulingtype;
	private Integer lastappinterval;
	private String cmdextvalue;
	private String specclinic;
	private Integer roundatttime;
	private ims.framework.utils.beans.DateBean lastgendate;
	private String isschmon;
	private String isschtue;
	private String isschwed;
	private String isschthur;
	private String isschfri;
	private String isschsat;
	private String isschsun;
	private String isweek1;
	private String isweek2;
	private String isweek3;
	private String isweek4;
	private String isweek5;
	private String isactive;
	private Integer minint;
	private String contarr;
	private Integer contlocation;
	private Integer specialty;
	private ims.vo.RefVoBean[] profiledetails;
	private ims.vo.RefVoBean[] profilelistowner;
	private ims.vo.RefVoBean[] profileusers;
	private ims.vo.RefVoBean[] exclusiondates;
	private ims.vo.RefVoBean[] exclusiontimes;
	private ims.vo.RefVoBean[] actions;
}
