public class Ingredient extends Object
| Constructor and Description |
|---|
Ingredient() |
Ingredient(Code ingredient,
Ratio quantity) |
| Modifier and Type | Method and Description |
|---|---|
Code |
getIngredientCode() |
Ratio |
getQuantity() |
void |
setIngredientCode(Code ingredientCode) |
void |
setQuantity(Ratio quantity) |
public Code getIngredientCode()
public void setIngredientCode(Code ingredientCode)
ingredientCode - the ingredientCode to setpublic Ratio getQuantity()
public void setQuantity(Ratio quantity)
quantity - the quantity to setCopyright © 2021. All rights reserved.