public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.icp.vo.beans.PatientICPPhase_PresentationVoBean bean = null; if (map != null) bean = (ims.icp.vo.beans.PatientICPPhase_PresentationVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.icp.vo.beans.PatientICPPhase_PresentationVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public PatientICPPhase_PresentationVo(ims.icp.vo.beans.PatientICPPhase_PresentationVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.icp = bean.getICP() == null ? null : new ims.icps.instantiation.vo.PatientICPRefVo( new Integer(bean.getICP().getId()), bean.getICP().getVersion()); this.phase = bean.getPhase() == null ? null : bean.getPhase().buildVo(); this.currentstatus = bean.getCurrentStatus() == null ? null : bean.getCurrentStatus().buildVo(); this.actions = ims.icp.vo.PatientICPAction_PresentationVoCollection.buildFromBeanCollection( bean.getActions()); }