Class Recipe

java.lang.Object
org.episteme.social.arts.culinary.Recipe

public class Recipe extends Object
Represents a recipe for cooking.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • Recipe

      public Recipe(String name)
  • Method Details

    • getName

      public String getName()
    • getCategory

      public Recipe.Category getCategory()
    • getCuisine

      public Recipe.Cuisine getCuisine()
    • getDifficulty

      public Recipe.Difficulty getDifficulty()
    • getPrepTimeMinutes

      public int getPrepTimeMinutes()
    • getCookTimeMinutes

      public int getCookTimeMinutes()
    • getServings

      public int getServings()
    • getIngredients

      public List<Ingredient> getIngredients()
    • getSteps

      public List<String> getSteps()
    • setCategory

      public void setCategory(Recipe.Category category)
    • setCuisine

      public void setCuisine(Recipe.Cuisine cuisine)
    • setDifficulty

      public void setDifficulty(Recipe.Difficulty difficulty)
    • setPrepTimeMinutes

      public void setPrepTimeMinutes(int time)
    • setCookTimeMinutes

      public void setCookTimeMinutes(int time)
    • setServings

      public void setServings(int servings)
    • addIngredient

      public void addIngredient(Ingredient ingredient)
    • addStep

      public void addStep(String step)
    • getTotalTime

      public int getTotalTime()
    • toString

      public String toString()
      Overrides:
      toString in class Object