/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/beans/SupportNetworkFamilyBean.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 SupportNetworkFamilyBean extends ims.vo.ValueObjectBean
{
	public SupportNetworkFamilyBean()
	{
	}
	public SupportNetworkFamilyBean(ims.core.vo.SupportNetworkFamily vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.carername = vo.getCarerName();
		this.carerrelationship = vo.getCarerRelationship() == null ? null : (ims.vo.LookupInstanceBean)vo.getCarerRelationship().getBean();
		this.careraddress = vo.getCarerAddress();
		this.carerhomephone = vo.getCarerHomePhone();
		this.carermobilephone = vo.getCarerMobilePhone();
		this.carerworkphone = vo.getCarerWorkPhone();
		this.careremail = vo.getCarerEmail();
		this.ismaincarer = vo.getIsMainCarer();
		this.emergencycontactorder = vo.getEmergencyContactOrder() == null ? null : (ims.vo.LookupInstanceBean)vo.getEmergencyContactOrder().getBean();
		this.iscurrentlyactivefamilysupport = vo.getIsCurrentlyActiveFamilySupport();
		this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSysInfo().getBean();
		this.discussprogress = vo.getDiscussProgress();
		this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion());
		this.authoringinfo = vo.getAuthoringInfo() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInfo().getBean();
		this.fitandwell = vo.getFitAndWell();
		this.awareclientposition = vo.getAwareClientPosition();
		this.permissiontocontact = vo.getPermissionToContact();
		this.recordinginformation = vo.getRecordingInformation() == null ? null : (ims.core.vo.beans.RecordingUserInformationVoBean)vo.getRecordingInformation().getBean();
		this.inactivatinguser = vo.getInactivatingUser() == null ? null : (ims.core.vo.beans.MemberOfStaffLiteVoBean)vo.getInactivatingUser().getBean();
		this.inactivatingdatetime = vo.getInactivatingDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getInactivatingDateTime().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.SupportNetworkFamily vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.carername = vo.getCarerName();
		this.carerrelationship = vo.getCarerRelationship() == null ? null : (ims.vo.LookupInstanceBean)vo.getCarerRelationship().getBean();
		this.careraddress = vo.getCarerAddress();
		this.carerhomephone = vo.getCarerHomePhone();
		this.carermobilephone = vo.getCarerMobilePhone();
		this.carerworkphone = vo.getCarerWorkPhone();
		this.careremail = vo.getCarerEmail();
		this.ismaincarer = vo.getIsMainCarer();
		this.emergencycontactorder = vo.getEmergencyContactOrder() == null ? null : (ims.vo.LookupInstanceBean)vo.getEmergencyContactOrder().getBean();
		this.iscurrentlyactivefamilysupport = vo.getIsCurrentlyActiveFamilySupport();
		this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSysInfo().getBean();
		this.discussprogress = vo.getDiscussProgress();
		this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion());
		this.authoringinfo = vo.getAuthoringInfo() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInfo().getBean(map);
		this.fitandwell = vo.getFitAndWell();
		this.awareclientposition = vo.getAwareClientPosition();
		this.permissiontocontact = vo.getPermissionToContact();
		this.recordinginformation = vo.getRecordingInformation() == null ? null : (ims.core.vo.beans.RecordingUserInformationVoBean)vo.getRecordingInformation().getBean(map);
		this.inactivatinguser = vo.getInactivatingUser() == null ? null : (ims.core.vo.beans.MemberOfStaffLiteVoBean)vo.getInactivatingUser().getBean(map);
		this.inactivatingdatetime = vo.getInactivatingDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getInactivatingDateTime().getBean();
	}

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

	public ims.core.vo.SupportNetworkFamily buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.core.vo.SupportNetworkFamily vo = null;
		if(map != null)
			vo = (ims.core.vo.SupportNetworkFamily)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.core.vo.SupportNetworkFamily();
			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 String getCarerName()
	{
		return this.carername;
	}
	public void setCarerName(String value)
	{
		this.carername = value;
	}
	public ims.vo.LookupInstanceBean getCarerRelationship()
	{
		return this.carerrelationship;
	}
	public void setCarerRelationship(ims.vo.LookupInstanceBean value)
	{
		this.carerrelationship = value;
	}
	public String getCarerAddress()
	{
		return this.careraddress;
	}
	public void setCarerAddress(String value)
	{
		this.careraddress = value;
	}
	public String getCarerHomePhone()
	{
		return this.carerhomephone;
	}
	public void setCarerHomePhone(String value)
	{
		this.carerhomephone = value;
	}
	public String getCarerMobilePhone()
	{
		return this.carermobilephone;
	}
	public void setCarerMobilePhone(String value)
	{
		this.carermobilephone = value;
	}
	public String getCarerWorkPhone()
	{
		return this.carerworkphone;
	}
	public void setCarerWorkPhone(String value)
	{
		this.carerworkphone = value;
	}
	public String getCarerEmail()
	{
		return this.careremail;
	}
	public void setCarerEmail(String value)
	{
		this.careremail = value;
	}
	public Boolean getIsMainCarer()
	{
		return this.ismaincarer;
	}
	public void setIsMainCarer(Boolean value)
	{
		this.ismaincarer = value;
	}
	public ims.vo.LookupInstanceBean getEmergencyContactOrder()
	{
		return this.emergencycontactorder;
	}
	public void setEmergencyContactOrder(ims.vo.LookupInstanceBean value)
	{
		this.emergencycontactorder = value;
	}
	public Boolean getIsCurrentlyActiveFamilySupport()
	{
		return this.iscurrentlyactivefamilysupport;
	}
	public void setIsCurrentlyActiveFamilySupport(Boolean value)
	{
		this.iscurrentlyactivefamilysupport = value;
	}
	public ims.vo.SysInfoBean getSysInfo()
	{
		return this.sysinfo;
	}
	public void setSysInfo(ims.vo.SysInfoBean value)
	{
		this.sysinfo = value;
	}
	public Boolean getDiscussProgress()
	{
		return this.discussprogress;
	}
	public void setDiscussProgress(Boolean value)
	{
		this.discussprogress = value;
	}
	public ims.vo.RefVoBean getPatient()
	{
		return this.patient;
	}
	public void setPatient(ims.vo.RefVoBean value)
	{
		this.patient = value;
	}
	public ims.core.vo.beans.AuthoringInformationVoBean getAuthoringInfo()
	{
		return this.authoringinfo;
	}
	public void setAuthoringInfo(ims.core.vo.beans.AuthoringInformationVoBean value)
	{
		this.authoringinfo = value;
	}
	public Boolean getFitAndWell()
	{
		return this.fitandwell;
	}
	public void setFitAndWell(Boolean value)
	{
		this.fitandwell = value;
	}
	public Boolean getAwareClientPosition()
	{
		return this.awareclientposition;
	}
	public void setAwareClientPosition(Boolean value)
	{
		this.awareclientposition = value;
	}
	public Boolean getPermissionToContact()
	{
		return this.permissiontocontact;
	}
	public void setPermissionToContact(Boolean value)
	{
		this.permissiontocontact = value;
	}
	public ims.core.vo.beans.RecordingUserInformationVoBean getRecordingInformation()
	{
		return this.recordinginformation;
	}
	public void setRecordingInformation(ims.core.vo.beans.RecordingUserInformationVoBean value)
	{
		this.recordinginformation = value;
	}
	public ims.core.vo.beans.MemberOfStaffLiteVoBean getInactivatingUser()
	{
		return this.inactivatinguser;
	}
	public void setInactivatingUser(ims.core.vo.beans.MemberOfStaffLiteVoBean value)
	{
		this.inactivatinguser = value;
	}
	public ims.framework.utils.beans.DateTimeBean getInactivatingDateTime()
	{
		return this.inactivatingdatetime;
	}
	public void setInactivatingDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.inactivatingdatetime = value;
	}

	private Integer id;
	private int version;
	private String carername;
	private ims.vo.LookupInstanceBean carerrelationship;
	private String careraddress;
	private String carerhomephone;
	private String carermobilephone;
	private String carerworkphone;
	private String careremail;
	private Boolean ismaincarer;
	private ims.vo.LookupInstanceBean emergencycontactorder;
	private Boolean iscurrentlyactivefamilysupport;
	private ims.vo.SysInfoBean sysinfo;
	private Boolean discussprogress;
	private ims.vo.RefVoBean patient;
	private ims.core.vo.beans.AuthoringInformationVoBean authoringinfo;
	private Boolean fitandwell;
	private Boolean awareclientposition;
	private Boolean permissiontocontact;
	private ims.core.vo.beans.RecordingUserInformationVoBean recordinginformation;
	private ims.core.vo.beans.MemberOfStaffLiteVoBean inactivatinguser;
	private ims.framework.utils.beans.DateTimeBean inactivatingdatetime;
}
