package general;

import java.util.ArrayList;

public class Tutee extends Person {

	// List storing the name of the tutor for every possible instance of a tutoring
	// session for the current course
	private ArrayList<String> possibleTutors = new ArrayList<String>();
	// List storing the time for every possible instance of a tutoring sessions for
	// the current course
	private ArrayList<Integer> possibleTimes = new ArrayList<Integer>();
	// Boolean marking whether the tutee is assigned
	private boolean assigned;

	// Methods for List possibleTutors
	public void addPossibleTutor(String name) {
		possibleTutors.add(name);
	}

	public String getPossibleTutor(int index) {
		return possibleTutors.get(index);
	}

	public int possibleTutorsSize() {
		return possibleTutors.size();
	}

	public void clearPossibleTutors() {
		possibleTutors.clear();
	}
	
	// Methods for List possibleTimes
	public void addPossibleTime(int time) {
		possibleTimes.add(time);
	}
	
	public int getPossibleTime(int index) {
		return possibleTimes.get(index);
	}
	
	public int possibleTimesSize() {
		return possibleTimes.size();
	}
	
	public void clearPossibleTimes() {
		possibleTimes.clear();
	}

	// Methods for Boolean assigned
	public void setAssigned(boolean state) {
		assigned = state;
	}

	public boolean isAssigned() {
		return assigned;
	}

}

@@ -98,20 +98,21 @@
 ing the 
-name
+index
  of the 
@@ -213,22 +213,23 @@
 rayList%3C
-String
+Integer
 %3E possib
@@ -253,22 +253,23 @@
 rayList%3C
-String
+Integer
 %3E();%0A%09//
@@ -587,19 +587,15 @@
 tor(
-Str
 in
-g name
+t num
 ) %7B%0A
@@ -620,11 +620,10 @@
 dd(n
-ame
+um
 );%0A%09
@@ -637,14 +637,11 @@
 lic 
-Str
 in
-g
+t
  get

Update to tutee