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