Class Allergy
java.lang.Object
ntnu.idatt2016.v233.SmartMat.entity.product.Allergy
Allergy is an entity class representing an allergy
- Version:
- 1.3
- Author:
- Stian Lyng and Anders
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Allergy
public Allergy()
-
-
Method Details
-
addUser
adds a user to the allergy- Parameters:
tempuser
- adds a user to the list of users with this allergy
-
addProduct
adds a product to the allergy- Parameters:
product
- adds a product to the list of products with this allergy
-
equals
-
hashCode
public int hashCode()
-