Object (int rowIndex, int columnIndex) { Item item = myItems.get(rowIndex); switch (columnIndex) { case 0: return item.validationResult.path; case 1: return getActionName(item.validationResult.action); case 2: return item.validationResult.message; case OPTIONS_COLUMN_INDEX: return item.option; } return null; }