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