public ims.ocrr.vo.PathologyInvestigationIndexVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.ocrr.vo.PathologyInvestigationIndexVo vo = null; if (map != null) vo = (ims.ocrr.vo.PathologyInvestigationIndexVo) map.getValueObject(this); if (vo == null) { vo = new ims.ocrr.vo.PathologyInvestigationIndexVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public PathologyInvestigationIndexVoBean(ims.ocrr.vo.PathologyInvestigationIndexVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.name = vo.getName(); this.orderability = vo.getOrderability() == null ? null : (ims.vo.LookupInstanceBean) vo.getOrderability().getBean(); this.securitylevel = vo.getSecurityLevel() == null ? null : (ims.ocrr.vo.beans.SecurityLevelConfigVoBean) vo.getSecurityLevel().getBean(); }