@Override
    public Object getValueAt(int row, int col) {
        Food theFood = (Food) theData.get(row);
        switch(col)
        {
            case 0:
                return String.format("%06d",theFood.getCode());
            case 1:
                return theFood.getFoodName();
            case 2:
                FoodGenre temp = theAuthenticationCntl.getFGList().getGenreByCode(theFood.getFoodGenreCode());
                String tempName = temp.getName();
                return tempName;
            case 3:
                if(theFood instanceof VegFood)
                {
                    VegFood theVegFood = (VegFood) theFood;
                    if(theVegFood.isVegan())
                    {
                        return "Vegan";
                    }
                    if(theVegFood.isVegitarian())
                    {
                        return "Vegitarian";
                    }
                }
                return "Neither";
        }
        return null;
    }