public ims.clinicaladmin.vo.ProcedureHotlistShortVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.clinicaladmin.vo.ProcedureHotlistShortVo vo = null; if (map != null) vo = (ims.clinicaladmin.vo.ProcedureHotlistShortVo) map.getValueObject(this); if (vo == null) { vo = new ims.clinicaladmin.vo.ProcedureHotlistShortVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public ProcedureHotlistShortVoBean(ims.clinicaladmin.vo.ProcedureHotlistShortVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.isglobal = vo.getIsGlobal(); this.user = vo.getUser() == null ? null : new ims.vo.RefVoBean(vo.getUser().getBoId(), vo.getUser().getBoVersion()); this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean) vo.getSpecialty().getBean(); }