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