package ca.teamTen.recitopia;

import java.util.ArrayList;


public class Recipe
{

	private String recipeName;
	private ArrayList<String> ingredients;
	private String cookingInstruction;
	private String author;
	private boolean isPublished;
	
	// Recipe constructor
	public Recipe(String recipeName, ArrayList<String> ingredients, String instruction, String author) {
		this.recipeName = recipeName;
		this.ingredients = ingredients;
		this.cookingInstruction = instruction;
		this.author = author;
	}
	
	public String getRecipeName() {
		return this.recipeName;
	}
	
	public String showAuthor() {
		return this.author;
	}
	
	public ArrayList<String> showIngredients() {
		return this.ingredients;
	}
	
	public String showCookingInstructions() {
		return this.cookingInstruction;
	}
	

	public Photo[] getPhotos() {
		return null;
	}
	
	public void addPhotos(Photo photo) {
		
	}

	public boolean publishRecipe() {
		return false;
	}
	

}

@@ -235,18 +235,52 @@
 lished;%0A
+%09private ArrayList%3CPhoto%3E photos;%0A
 %09%0A
-
 %09// Reci
@@ -519,32 +519,72 @@
 uthor = author;%0A
+%09%09this.photos = new ArrayList%3CPhoto%3E();%0A
 %09%7D%0A%09%0A%09public Str
@@ -897,12 +897,63 @@
 urn 
-null
+(Photo%5B%5D) this.photos.toArray(new Photo%5Bphotos.size()%5D)
 ;%0A%09%7D
@@ -993,18 +993,41 @@
 hoto) %7B%0A
-
 %09%09
+this.photos.add(photo);
 %0A%09%7D%0A%0A%09pu

Add photo collection to Recipe.