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()); }