public Object getRowKey() { if (index < 0 || index >= wrappedData.size()) { return null; } Job job = (Job) wrappedData.get(index); System.out.println("getRowKey() return: " + job.getJobId()); return job.getJobId(); }
private int indexOf(Object rowKey) { int result = -1; for (Object obj : wrappedData) { result++; Job job = (Job) obj; if (rowKey.equals(job.getJobId())) { return result; } } return result; }