public ims.clinical.vo.IntraOperativeDetailsLiteVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.clinical.vo.IntraOperativeDetailsLiteVo vo = null; if (map != null) vo = (ims.clinical.vo.IntraOperativeDetailsLiteVo) map.getValueObject(this); if (vo == null) { vo = new ims.clinical.vo.IntraOperativeDetailsLiteVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.clinical.vo.IntraOperativeDetailsLiteVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.skinpreparationused = vo.getSkinPreparationUsed() == null ? null : vo.getSkinPreparationUsed().getBeanCollection(); this.dressing = vo.getDressing() == null ? null : vo.getDressing().getBeanCollection(); this.drains = vo.getDrains() == null ? null : (ims.clinical.vo.beans.DrainsVoBean) vo.getDrains().getBean(map); this.patientposition = vo.getPatientPosition() == null ? null : (ims.vo.LookupInstanceBean) vo.getPatientPosition().getBean(); this.specimentype = vo.getSpecimenType(); this.histopathology = vo.getHistopathology(); this.microbiology = vo.getMicrobiology(); this.haematology = vo.getHaematology(); this.cytology = vo.getCytology(); this.otherskinpreparationused = vo.getOtherSkinPreparationUsed(); }