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

public class User_AssessmentVoBean extends ims.vo.ValueObjectBean
{
	public User_AssessmentVoBean()
	{
	}
	public User_AssessmentVoBean(ims.assessment.vo.User_AssessmentVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.name = vo.getName();
		this.description = vo.getDescription();
		this.groupquestionwidth = vo.getGroupQuestionWidth();
		this.helpurl = vo.getHelpURL();
		this.isflatview = vo.getIsFlatView();
		this.ismultiplegroup = vo.getIsMultipleGroup();
		this.questiongroups = vo.getQuestionGroups() == null ? null : vo.getQuestionGroups().getBeanCollection();
		this.headertext = vo.getHeaderText();
		this.footertext = vo.getFooterText();
		this.maxheaderheight = vo.getMaxHeaderHeight();
		this.maxfooterheight = vo.getMaxFooterHeight();
		this.assessmenttype = vo.getAssessmentType() == null ? null : (ims.vo.LookupInstanceBean)vo.getAssessmentType().getBean();
		this.scoringmethod = vo.getScoringMethod() == null ? null : (ims.vo.LookupInstanceBean)vo.getScoringMethod().getBean();
		this.associatedreport = vo.getAssociatedReport() == null ? null : new ims.vo.RefVoBean(vo.getAssociatedReport().getBoId(), vo.getAssociatedReport().getBoVersion());
		this.storeprintedassessment = vo.getStorePrintedAssessment();
		this.cancopylast = vo.getCanCopyLast();
		this.copylastfromcontext = vo.getCopyLastFromContext() == null ? null : (ims.vo.LookupInstanceBean)vo.getCopyLastFromContext().getBean();
		this.assessmentroles = vo.getAssessmentRoles() == null ? null : vo.getAssessmentRoles().getBeanCollection();
		this.category = vo.getCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getCategory().getBean();
		this.activestatus = vo.getActiveStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getActiveStatus().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.assessment.vo.User_AssessmentVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.name = vo.getName();
		this.description = vo.getDescription();
		this.groupquestionwidth = vo.getGroupQuestionWidth();
		this.helpurl = vo.getHelpURL();
		this.isflatview = vo.getIsFlatView();
		this.ismultiplegroup = vo.getIsMultipleGroup();
		this.questiongroups = vo.getQuestionGroups() == null ? null : vo.getQuestionGroups().getBeanCollection();
		this.headertext = vo.getHeaderText();
		this.footertext = vo.getFooterText();
		this.maxheaderheight = vo.getMaxHeaderHeight();
		this.maxfooterheight = vo.getMaxFooterHeight();
		this.assessmenttype = vo.getAssessmentType() == null ? null : (ims.vo.LookupInstanceBean)vo.getAssessmentType().getBean();
		this.scoringmethod = vo.getScoringMethod() == null ? null : (ims.vo.LookupInstanceBean)vo.getScoringMethod().getBean();
		this.associatedreport = vo.getAssociatedReport() == null ? null : new ims.vo.RefVoBean(vo.getAssociatedReport().getBoId(), vo.getAssociatedReport().getBoVersion());
		this.storeprintedassessment = vo.getStorePrintedAssessment();
		this.cancopylast = vo.getCanCopyLast();
		this.copylastfromcontext = vo.getCopyLastFromContext() == null ? null : (ims.vo.LookupInstanceBean)vo.getCopyLastFromContext().getBean();
		this.assessmentroles = vo.getAssessmentRoles() == null ? null : vo.getAssessmentRoles().getBeanCollection();
		this.category = vo.getCategory() == null ? null : (ims.vo.LookupInstanceBean)vo.getCategory().getBean();
		this.activestatus = vo.getActiveStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getActiveStatus().getBean();
	}

	public ims.assessment.vo.User_AssessmentVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.assessment.vo.User_AssessmentVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.assessment.vo.User_AssessmentVo vo = null;
		if(map != null)
			vo = (ims.assessment.vo.User_AssessmentVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.assessment.vo.User_AssessmentVo();
			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 Integer getGroupQuestionWidth()
	{
		return this.groupquestionwidth;
	}
	public void setGroupQuestionWidth(Integer value)
	{
		this.groupquestionwidth = value;
	}
	public String getHelpURL()
	{
		return this.helpurl;
	}
	public void setHelpURL(String value)
	{
		this.helpurl = value;
	}
	public Boolean getIsFlatView()
	{
		return this.isflatview;
	}
	public void setIsFlatView(Boolean value)
	{
		this.isflatview = value;
	}
	public Boolean getIsMultipleGroup()
	{
		return this.ismultiplegroup;
	}
	public void setIsMultipleGroup(Boolean value)
	{
		this.ismultiplegroup = value;
	}
	public ims.assessment.vo.beans.Assessment_QuestionGroupVoBean[] getQuestionGroups()
	{
		return this.questiongroups;
	}
	public void setQuestionGroups(ims.assessment.vo.beans.Assessment_QuestionGroupVoBean[] value)
	{
		this.questiongroups = value;
	}
	public String getHeaderText()
	{
		return this.headertext;
	}
	public void setHeaderText(String value)
	{
		this.headertext = value;
	}
	public String getFooterText()
	{
		return this.footertext;
	}
	public void setFooterText(String value)
	{
		this.footertext = value;
	}
	public Integer getMaxHeaderHeight()
	{
		return this.maxheaderheight;
	}
	public void setMaxHeaderHeight(Integer value)
	{
		this.maxheaderheight = value;
	}
	public Integer getMaxFooterHeight()
	{
		return this.maxfooterheight;
	}
	public void setMaxFooterHeight(Integer value)
	{
		this.maxfooterheight = value;
	}
	public ims.vo.LookupInstanceBean getAssessmentType()
	{
		return this.assessmenttype;
	}
	public void setAssessmentType(ims.vo.LookupInstanceBean value)
	{
		this.assessmenttype = value;
	}
	public ims.vo.LookupInstanceBean getScoringMethod()
	{
		return this.scoringmethod;
	}
	public void setScoringMethod(ims.vo.LookupInstanceBean value)
	{
		this.scoringmethod = value;
	}
	public ims.vo.RefVoBean getAssociatedReport()
	{
		return this.associatedreport;
	}
	public void setAssociatedReport(ims.vo.RefVoBean value)
	{
		this.associatedreport = value;
	}
	public Boolean getStorePrintedAssessment()
	{
		return this.storeprintedassessment;
	}
	public void setStorePrintedAssessment(Boolean value)
	{
		this.storeprintedassessment = value;
	}
	public Boolean getCanCopyLast()
	{
		return this.cancopylast;
	}
	public void setCanCopyLast(Boolean value)
	{
		this.cancopylast = value;
	}
	public ims.vo.LookupInstanceBean getCopyLastFromContext()
	{
		return this.copylastfromcontext;
	}
	public void setCopyLastFromContext(ims.vo.LookupInstanceBean value)
	{
		this.copylastfromcontext = value;
	}
	public ims.assessment.vo.beans.AssessmentRoleVoBean[] getAssessmentRoles()
	{
		return this.assessmentroles;
	}
	public void setAssessmentRoles(ims.assessment.vo.beans.AssessmentRoleVoBean[] value)
	{
		this.assessmentroles = value;
	}
	public ims.vo.LookupInstanceBean getCategory()
	{
		return this.category;
	}
	public void setCategory(ims.vo.LookupInstanceBean value)
	{
		this.category = value;
	}
	public ims.vo.LookupInstanceBean getActiveStatus()
	{
		return this.activestatus;
	}
	public void setActiveStatus(ims.vo.LookupInstanceBean value)
	{
		this.activestatus = value;
	}

	private Integer id;
	private int version;
	private String name;
	private String description;
	private Integer groupquestionwidth;
	private String helpurl;
	private Boolean isflatview;
	private Boolean ismultiplegroup;
	private ims.assessment.vo.beans.Assessment_QuestionGroupVoBean[] questiongroups;
	private String headertext;
	private String footertext;
	private Integer maxheaderheight;
	private Integer maxfooterheight;
	private ims.vo.LookupInstanceBean assessmenttype;
	private ims.vo.LookupInstanceBean scoringmethod;
	private ims.vo.RefVoBean associatedreport;
	private Boolean storeprintedassessment;
	private Boolean cancopylast;
	private ims.vo.LookupInstanceBean copylastfromcontext;
	private ims.assessment.vo.beans.AssessmentRoleVoBean[] assessmentroles;
	private ims.vo.LookupInstanceBean category;
	private ims.vo.LookupInstanceBean activestatus;
}
