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