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