package pdm;

public class Task {

	public Task() {
		// TODO Auto-generated constructor stub
	}

}

@@ -11,90 +11,1439 @@
 m;%0A%0A
-public class Task %7B%0A%0A%09public Task() %7B%0A%09%09// TODO Auto-generated constructor stub%0A%09%7D%0A%0A%7D%0A
+import java.util.List;%0A%0Apublic class Task %7B%0A%09%0A%09private String name;%0A%09private int duration;%0A%09private int earliestStart;%0A%09private int earliestFinish;%0A%09private int latestStart;%0A%09private int latestFinish;%0A%09private List%3CTask%3E dependencies;%0A%09%0A%09public Task(String name, List%3CTask%3E dependencies) %7B%0A%09%09this.setName(name);%0A%09%09this.dependencies = dependencies;%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public int getDuration() %7B%0A%09%09return duration;%0A%09%7D%0A%0A%09public void setDuration(int duration) %7B%0A%09%09this.duration = duration;%0A%09%7D%0A%0A%09public int getEarliestStart() %7B%0A%09%09return earliestStart;%0A%09%7D%0A%0A%09public void setEarliestStart(int earliestStart) %7B%0A%09%09this.earliestStart = earliestStart;%0A%09%7D%0A%0A%09public int getEarliestFinish() %7B%0A%09%09return earliestFinish;%0A%09%7D%0A%0A%09public void setEarliestFinish(int earliestFinish) %7B%0A%09%09this.earliestFinish = earliestFinish;%0A%09%7D%0A%0A%09public int getLatestStart() %7B%0A%09%09return latestStart;%0A%09%7D%0A%0A%09public void setLatestStart(int latestStart) %7B%0A%09%09this.latestStart = latestStart;%0A%09%7D%0A%0A%09public int getLatestFinish() %7B%0A%09%09return latestFinish;%0A%09%7D%0A%0A%09public void setLatestFinish(int latestFinish) %7B%0A%09%09this.latestFinish = latestFinish;%0A%09%7D%0A%09%0A%09public List%3CTask%3E getDependencies() %7B%0A%09%09return dependencies;%0A%09%7D%0A%09%0A%09public void addDependency(Task dependency) %7B%0A%09%09this.dependencies.add(dependency);%0A%09%7D%0A%09%0A%09public void removeDependency(Task dependency) %7B%0A%09%09this.dependencies.remove(dependency);%0A%09%7D%0A%7D

Task object