@Override
    public Object getValueAt(int i, int i1) {
        SimpleMeal retrievedSimpleMeal = mealList.get(i);
        switch (i1) {
            case NAME_COLUMN:
                return retrievedSimpleMeal.getName();
            case CALORIES_COLUMN:
                return retrievedSimpleMeal.getCalories();
            case ID_COLUMN:
                return retrievedSimpleMeal.getId();
            case PROTEIN_COLUMN:
                return retrievedSimpleMeal.getProtein();
            default:
                return "Error";
            //replace with constants names.
        }
    }