Package com.cis.gorecipe.model
Class DietaryRestriction
java.lang.Object
com.cis.gorecipe.model.DietaryRestriction
This class allows GoRecipe to store various dietary restrictions, such as allergies, intolerances, religious restrictions and more
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<Ingredient>A list of ingredients which cannot be used by any user who has this dietary restrictionprivate LongThe primary key of the dietary restrictionprivate StringThe unique name of the dietary restriction (e.g. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
The primary key of the dietary restriction -
name
The unique name of the dietary restriction (e.g. Halal, Paleo, Gluten Free) -
disallowedIngredients
A list of ingredients which cannot be used by any user who has this dietary restriction
-
-
Constructor Details
-
DietaryRestriction
public DietaryRestriction()
-