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

public class ICPFullVoBean extends ims.vo.ValueObjectBean
{
	public ICPFullVoBean()
	{
	}
	public ICPFullVoBean(ims.icp.vo.ICPFullVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.name = vo.getName();
		this.description = vo.getDescription();
		this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatus().getBean();
		this.helpurl = vo.getHelpURL();
		this.category = vo.getCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getCategory().getBean();
		this.type = vo.getType() == null ? null : (ims.vo.LookupInstanceBean)vo.getType().getBean();
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		this.creationdate = vo.getCreationDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCreationDate().getBean();
		this.contactperson = vo.getContactPerson() == null ? null : (ims.core.vo.beans.MemberOfStaffLiteVoBean)vo.getContactPerson().getBean();
		this.diagnosis = vo.getDiagnosis() == null ? null : (ims.core.vo.beans.DiagLiteVoBean)vo.getDiagnosis().getBean();
		this.procedures = vo.getProcedures() == null ? null : vo.getProcedures().getBeanCollection();
		this.stages = vo.getStages() == null ? null : vo.getStages().getBeanCollection();
		this.problem = vo.getProblem() == null ? null : (ims.clinical.vo.beans.ClinicalProblemShortVoBean)vo.getProblem().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.icp.vo.ICPFullVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.name = vo.getName();
		this.description = vo.getDescription();
		this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatus().getBean();
		this.helpurl = vo.getHelpURL();
		this.category = vo.getCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getCategory().getBean();
		this.type = vo.getType() == null ? null : (ims.vo.LookupInstanceBean)vo.getType().getBean();
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		this.creationdate = vo.getCreationDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCreationDate().getBean();
		this.contactperson = vo.getContactPerson() == null ? null : (ims.core.vo.beans.MemberOfStaffLiteVoBean)vo.getContactPerson().getBean(map);
		this.diagnosis = vo.getDiagnosis() == null ? null : (ims.core.vo.beans.DiagLiteVoBean)vo.getDiagnosis().getBean(map);
		this.procedures = vo.getProcedures() == null ? null : vo.getProcedures().getBeanCollection();
		this.stages = vo.getStages() == null ? null : vo.getStages().getBeanCollection();
		this.problem = vo.getProblem() == null ? null : (ims.clinical.vo.beans.ClinicalProblemShortVoBean)vo.getProblem().getBean(map);
	}

	public ims.icp.vo.ICPFullVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.icp.vo.ICPFullVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.icp.vo.ICPFullVo vo = null;
		if(map != null)
			vo = (ims.icp.vo.ICPFullVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.icp.vo.ICPFullVo();
			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 getName()
	{
		return this.name;
	}
	public void setName(String value)
	{
		this.name = value;
	}
	public String getDescription()
	{
		return this.description;
	}
	public void setDescription(String value)
	{
		this.description = value;
	}
	public ims.vo.LookupInstanceBean getStatus()
	{
		return this.status;
	}
	public void setStatus(ims.vo.LookupInstanceBean value)
	{
		this.status = value;
	}
	public String getHelpURL()
	{
		return this.helpurl;
	}
	public void setHelpURL(String value)
	{
		this.helpurl = value;
	}
	public ims.vo.LookupInstanceBean getCategory()
	{
		return this.category;
	}
	public void setCategory(ims.vo.LookupInstanceBean value)
	{
		this.category = value;
	}
	public ims.vo.LookupInstanceBean getType()
	{
		return this.type;
	}
	public void setType(ims.vo.LookupInstanceBean value)
	{
		this.type = value;
	}
	public ims.vo.LookupInstanceBean getSpecialty()
	{
		return this.specialty;
	}
	public void setSpecialty(ims.vo.LookupInstanceBean value)
	{
		this.specialty = value;
	}
	public ims.framework.utils.beans.DateBean getCreationDate()
	{
		return this.creationdate;
	}
	public void setCreationDate(ims.framework.utils.beans.DateBean value)
	{
		this.creationdate = value;
	}
	public ims.core.vo.beans.MemberOfStaffLiteVoBean getContactPerson()
	{
		return this.contactperson;
	}
	public void setContactPerson(ims.core.vo.beans.MemberOfStaffLiteVoBean value)
	{
		this.contactperson = value;
	}
	public ims.core.vo.beans.DiagLiteVoBean getDiagnosis()
	{
		return this.diagnosis;
	}
	public void setDiagnosis(ims.core.vo.beans.DiagLiteVoBean value)
	{
		this.diagnosis = value;
	}
	public ims.core.vo.beans.ProcedureLiteVoBean[] getProcedures()
	{
		return this.procedures;
	}
	public void setProcedures(ims.core.vo.beans.ProcedureLiteVoBean[] value)
	{
		this.procedures = value;
	}
	public ims.icp.vo.beans.ICPStageFullVoBean[] getStages()
	{
		return this.stages;
	}
	public void setStages(ims.icp.vo.beans.ICPStageFullVoBean[] value)
	{
		this.stages = value;
	}
	public ims.clinical.vo.beans.ClinicalProblemShortVoBean getProblem()
	{
		return this.problem;
	}
	public void setProblem(ims.clinical.vo.beans.ClinicalProblemShortVoBean value)
	{
		this.problem = value;
	}

	private Integer id;
	private int version;
	private String name;
	private String description;
	private ims.vo.LookupInstanceBean status;
	private String helpurl;
	private ims.vo.LookupInstanceBean category;
	private ims.vo.LookupInstanceBean type;
	private ims.vo.LookupInstanceBean specialty;
	private ims.framework.utils.beans.DateBean creationdate;
	private ims.core.vo.beans.MemberOfStaffLiteVoBean contactperson;
	private ims.core.vo.beans.DiagLiteVoBean diagnosis;
	private ims.core.vo.beans.ProcedureLiteVoBean[] procedures;
	private ims.icp.vo.beans.ICPStageFullVoBean[] stages;
	private ims.clinical.vo.beans.ClinicalProblemShortVoBean problem;
}
