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