/**
  * Returns a RecipeList that is all the recipes that have all ingredients in IngredientController
  *
  * @param ingredController
  * @return
  */
 public RecipeListModel getQueryRecipeList(IngredientController ingredController) {
   RecipeListModel temp = new RecipeListModel();
   for (int i = 0; i < this.recipe_List.size(); i++) {
     if (this.checkRecipeHasIngredients(i, ingredController) != -1) {
       temp.add(recipe_List.get(i));
     }
   }
   return temp;
 }
 private String processRecipeListString(int position, int i) {
   return recipe_List
       .get(position)
       .getIngredList()
       .get(i)
       .getIngredientName()
       .trim()
       .toLowerCase();
 }
 /**
  * Adds a recipe to recipe_list
  *
  * @param recipe
  * @return UploadController
  */
 public WebController addRecipe(RecipeModel recipe) {
   recipe_List.add(recipe);
   return this;
 }
 /**
  * Gets length of recipelist
  *
  * @return int length of recipelist
  */
 public int getLength() {
   return recipe_List.size();
 }
 /**
  * Returns name of recipe (RecipeListModel) based on its position in list
  *
  * @param i : Position of recipe in the list
  * @return Name of recipe
  */
 public String getRecipeListName(int i) {
   return recipe_List.get(i).getRecipeName();
 }
 /**
  * Returns the recipe at position i in the load recipe list
  *
  * @param i : position of the recipe in the list
  * @return recipe at position i
  */
 public RecipeModel getRecipe(int i) {
   return recipe_List.get(i);
 }