Uses of Class
stud.ntnu.idatt1005.pantrypal.registers.GroceryRegister
Packages that use GroceryRegister
Package
Description
-
Uses of GroceryRegister in stud.ntnu.idatt1005.pantrypal.controllers
Fields in stud.ntnu.idatt1005.pantrypal.controllers declared as GroceryRegisterModifier and TypeFieldDescriptionprivate GroceryRegister
AddRecipeController.groceryRegister
private final GroceryRegister
ShoppingListController.register
The register holding the groceries.private final GroceryRegister
CookbookController.shoppingListRegister
Methods in stud.ntnu.idatt1005.pantrypal.controllers that return GroceryRegisterModifier and TypeMethodDescriptionShoppingListController.getRegister()
Returns the grocery register. -
Uses of GroceryRegister in stud.ntnu.idatt1005.pantrypal.models
Fields in stud.ntnu.idatt1005.pantrypal.models declared as GroceryRegisterModifier and TypeFieldDescriptionprivate final GroceryRegister
Shelf.groceryRegister
private final GroceryRegister
Recipe.recipeGroceries
The groceries needed for the recipe.Methods in stud.ntnu.idatt1005.pantrypal.models that return GroceryRegisterModifier and TypeMethodDescriptionShelf.getGroceryRegister()
Gets the register of groceries on the shelf.Recipe.getRecipeGroceries()
Get the groceries needed for the recipe.Constructors in stud.ntnu.idatt1005.pantrypal.models with parameters of type GroceryRegisterModifierConstructorDescriptionRecipe
(String name, String description, GroceryRegister recipeGroceries, StepRegister steps, String imagePath, boolean isFavorite) Constructor for the Recipe class. -
Uses of GroceryRegister in stud.ntnu.idatt1005.pantrypal.registers
Constructors in stud.ntnu.idatt1005.pantrypal.registers with parameters of type GroceryRegisterModifierConstructorDescriptionGroceryRegister
(GroceryRegister register) Deep-copy constructor for the GroceryRegister class.