private List<Beverage> beverages;
public JavascriptExampleImpl() {
beverages = new ArrayList<Beverage>();
Ingredient calcium = new Ingredient();
calcium.setName("calcium");
calcium.setCategory(Category.Mineral);
Ingredient zinc = new Ingredient();
zinc.setName("zinc");
zinc.setCategory(Category.Mineral);
Ingredient broccoli = new Ingredient();
broccoli.setName("broccoli");
broccoli.setCategory(Category.Vegetable);
Ingredient apple = new Ingredient();
apple.setName("apple");
apple.setCategory(Category.Fruit);
Beverage b = new Beverage();
b.setName("zinc-fortified broccoli shake");
b.setProof(20);
Ingredient[] ingredients;