Class Recipe
java.lang.Object
org.episteme.social.arts.culinary.Recipe
Represents a recipe for cooking.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIngredient(Ingredient ingredient) voidintgetName()intintgetSteps()intvoidsetCategory(Recipe.Category category) voidsetCookTimeMinutes(int time) voidsetCuisine(Recipe.Cuisine cuisine) voidsetDifficulty(Recipe.Difficulty difficulty) voidsetPrepTimeMinutes(int time) voidsetServings(int servings) toString()
-
Constructor Details
-
Recipe
-
-
Method Details
-
getName
-
getCategory
-
getCuisine
-
getDifficulty
-
getPrepTimeMinutes
public int getPrepTimeMinutes() -
getCookTimeMinutes
public int getCookTimeMinutes() -
getServings
public int getServings() -
getIngredients
-
getSteps
-
setCategory
-
setCuisine
-
setDifficulty
-
setPrepTimeMinutes
public void setPrepTimeMinutes(int time) -
setCookTimeMinutes
public void setCookTimeMinutes(int time) -
setServings
public void setServings(int servings) -
addIngredient
-
addStep
-
getTotalTime
public int getTotalTime() -
toString
-