Class Recipe
java.lang.Object
ntnu.idatt2016.v233.SmartMat.entity.product.Recipe
Recipe is an entity class representing a recipe in the system.
- Version:
- 1.7
- Author:
- Anders, Stian, Birk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProduct
(Product product) Adds a product to the recipevoid
Adds a user to the recipe used for adding favorites
-
Constructor Details
-
Recipe
public Recipe()
-
-
Method Details
-
addProduct
Adds a product to the recipe- Parameters:
product
- product to add
-
addUser
Adds a user to the recipe used for adding favorites- Parameters:
user
- user to add
-