public static ArrayList generateRowsFromBeans(ArrayList beans) { ArrayList answer = new ArrayList(); Class[] parameters = null; Object[] arguments = null; for (int i = 0; i < beans.size(); i++) { try { DisplayStudyEventRow row = new DisplayStudyEventRow(); row.setBean((DisplayStudyEventBean) beans.get(i)); answer.add(row); } catch (Exception e) { } } return answer; }
/* * (non-Javadoc) * * @see org.akaza.openclinica.core.EntityBeanRow#generatRowsFromBeans(java.util.ArrayList) */ @Override public ArrayList generatRowsFromBeans(ArrayList beans) { return DisplayStudyEventRow.generateRowsFromBeans(beans); }