@Override public SheduleModel getRowData(String s) { // log.debug("getRowData " + s); List<SheduleModel> shedules = (List<SheduleModel>) getWrappedData(); // log.info("getRowData " + shedules); for (SheduleModel sheduleModel : shedules) { // log.info("rows " + sheduleModel.getUnique() + " " + s + " " + // sheduleModel.getUnique().equals(s)); if (sheduleModel.getUnique().equals(s)) return sheduleModel; } return null; }
@Override public Object getRowKey(SheduleModel sheduleModel) { // log.info("onRowSelect " + sheduleModel.getUnique() + " " // +sheduleModel.getTrainNumber()); return sheduleModel.getUnique(); }