List<DisplayTransactionSummary> summ = new ArrayList<DisplayTransactionSummary>();
for (Object object : summObject) {
if(object instanceof Object[]){
Object[] objs = (Object[])object;
DisplayTransactionSummary dts = new DisplayTransactionSummary();
dts.setTotal((Long) objs[0]);
dts.setCount((Long) objs[1]);
dts.setStationId((Integer) objs[2]);
dts.setPaymentType((String) objs[3]);
dts.setUserName((String) objs[5]);
summ.add(dts);
}
}
SgwtRestFetchResponseBase ret = new SgwtRestFetchResponseBase(summ);