public ims.coe.vo.InfectionControlComponentVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.coe.vo.InfectionControlComponentVo vo = null; if (map != null) vo = (ims.coe.vo.InfectionControlComponentVo) map.getValueObject(this); if (vo == null) { vo = new ims.coe.vo.InfectionControlComponentVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.coe.vo.InfectionControlComponentVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.iscomplete = vo.getIsComplete(); this.assessmentinfo = vo.getAssessmentInfo() == null ? null : vo.getAssessmentInfo().getBeanCollection(); this.copy = vo.getCopy(); this.componenttype = vo.getComponentType() == null ? null : (ims.vo.LookupInstanceBean) vo.getComponentType().getBean(); this.lastassessmentinfo = vo.getLastAssessmentInfo() == null ? null : (ims.nursing.vo.beans.AssessmentInfoBean) vo.getLastAssessmentInfo().getBean(map); this.careplantemplate = vo.getCarePlanTemplate() == null ? null : vo.getCarePlanTemplate().getBeanCollection(); this.careplans = vo.getCarePlans() == null ? null : vo.getCarePlans().getBeanCollection(); this.mrsa = vo.getMRSA() == null ? null : (ims.vo.LookupInstanceBean) vo.getMRSA().getBean(); this.mrsacomment = vo.getMRSAComment(); this.clostridium = vo.getClostridium() == null ? null : (ims.vo.LookupInstanceBean) vo.getClostridium().getBean(); this.clostridiumcomment = vo.getClostridiumComment(); this.vre = vo.getVRE() == null ? null : (ims.vo.LookupInstanceBean) vo.getVRE().getBean(); this.vrecomment = vo.getVREComment(); this.esbc = vo.getESBC() == null ? null : (ims.vo.LookupInstanceBean) vo.getESBC().getBean(); this.esbccomment = vo.getESBCComment(); this.tb = vo.getTB() == null ? null : (ims.vo.LookupInstanceBean) vo.getTB().getBean(); this.tbcomment = vo.getTBComment(); this.norovirus = vo.getNorovirus() == null ? null : (ims.vo.LookupInstanceBean) vo.getNorovirus().getBean(); this.noroviruscomment = vo.getNorovirusComment(); this.controlrequirement = vo.getControlRequirement() == null ? null : (ims.vo.LookupInstanceBean) vo.getControlRequirement().getBean(); this.notes = vo.getNotes(); this.infectioncontrolassessment = vo.getInfectionControlAssessment() == null ? null : (ims.coe.vo.beans.InfectionControlRepeatableAssessmentVoBean) vo.getInfectionControlAssessment().getBean(map); }