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