public ims.emergency.vo.beans.EmergencyAttendanceListVoBean[] getBeanCollectionArray() {
   ims.emergency.vo.beans.EmergencyAttendanceListVoBean[] result =
       new ims.emergency.vo.beans.EmergencyAttendanceListVoBean[col.size()];
   for (int i = 0; i < col.size(); i++) {
     EmergencyAttendanceListVo vo = ((EmergencyAttendanceListVo) col.get(i));
     result[i] = (ims.emergency.vo.beans.EmergencyAttendanceListVoBean) vo.getBean();
   }
   return result;
 }
 public int compare(Object obj1, Object obj2) {
   EmergencyAttendanceListVo voObj1 = (EmergencyAttendanceListVo) obj1;
   EmergencyAttendanceListVo voObj2 = (EmergencyAttendanceListVo) obj2;
   return direction * (voObj1.compareTo(voObj2, this.caseInsensitive));
 }