public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.emergency.vo.beans.AttendanceHistoryDialogParamsVoBean bean = null;
   if (map != null)
     bean =
         (ims.emergency.vo.beans.AttendanceHistoryDialogParamsVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.emergency.vo.beans.AttendanceHistoryDialogParamsVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
 public AttendanceHistoryDialogParamsVo(
     ims.emergency.vo.beans.AttendanceHistoryDialogParamsVoBean bean) {
   this.patientrefvo =
       bean.getPatientRefVo() == null
           ? null
           : new ims.core.patient.vo.PatientRefVo(
               new Integer(bean.getPatientRefVo().getId()), bean.getPatientRefVo().getVersion());
   this.maxrecords = bean.getMaxRecords();
   this.type = bean.getType();
   this.scheduleddate =
       bean.getScheduledDate() == null ? null : bean.getScheduledDate().buildDateTime();
   this.unscheduleddate =
       bean.getUnscheduledDate() == null ? null : bean.getUnscheduledDate().buildDateTime();
 }