@Override public int getInt(int columnIndex) { checkClosed(); ShadowRequest request = shadowOf_(requests.get(positionIndex)); if (columnIndex == COLUMN_INDEX_STATUS) { return request.getStatus(); } return 0; }
@Override public String getString(int columnIndex) { checkClosed(); ShadowRequest request = shadowOf_(requests.get(positionIndex)); switch (columnIndex) { case COLUMN_INDEX_LOCAL_FILENAME: return "local file name not implemented"; case COLUMN_INDEX_DESCRIPTION: return request.getDescription().toString(); case COLUMN_INDEX_REASON: return "reason not implemented"; } return "Unknown ColumnIndex " + columnIndex; }