public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.icp.vo.beans.PatientICPLiteVoBean bean = null; if (map != null) bean = (ims.icp.vo.beans.PatientICPLiteVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.icp.vo.beans.PatientICPLiteVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.icp.vo.beans.PatientICPLiteVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.hasoutstandingadminactions = bean.getHasOutstandingAdminActions(); this.hasoutstandingnursingactions = bean.getHasOutstandingNursingActions(); this.hasoutstandingphysioactions = bean.getHasOutstandingPhysioActions(); this.hasoutstandingclinicalactions = bean.getHasOutstandingClinicalActions(); this.icp = bean.getICP() == null ? null : bean.getICP().buildVo(map); this.carecontext = bean.getCareContext() == null ? null : new ims.core.admin.vo.CareContextRefVo( new Integer(bean.getCareContext().getId()), bean.getCareContext().getVersion()); }