public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.admin.vo.beans.ElectiveListConfigSearchCriteriaVoBean bean = null;
   if (map != null)
     bean =
         (ims.admin.vo.beans.ElectiveListConfigSearchCriteriaVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.admin.vo.beans.ElectiveListConfigSearchCriteriaVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
 public void populate(
     ims.vo.ValueObjectBeanMap map,
     ims.admin.vo.beans.ElectiveListConfigSearchCriteriaVoBean bean) {
   this.waitinglistname = bean.getWaitingListName();
   this.service = bean.getService() == null ? null : bean.getService().buildVo(map);
   this.consultant = bean.getConsultant() == null ? null : bean.getConsultant().buildVo(map);
   this.hospital = bean.getHospital() == null ? null : bean.getHospital().buildVo(map);
   this.active = bean.getActive();
   this.fromdate = bean.getFromDate() == null ? null : bean.getFromDate().buildDate();
   this.todate = bean.getToDate() == null ? null : bean.getToDate().buildDate();
 }