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