package seedu.tasklist.model.util;

import seedu.tasklist.commons.exceptions.IllegalValueException;
import seedu.tasklist.model.ReadOnlyTaskList;
import seedu.tasklist.model.TaskList;
import seedu.tasklist.model.tag.UniqueTagList;
import seedu.tasklist.model.task.Comment;
import seedu.tasklist.model.task.Name;
import seedu.tasklist.model.task.Task;
import seedu.tasklist.model.task.UniqueTaskList.DuplicateTaskException;

public class SampleDataUtil {
    public static Task[] getSampleTasks() {
        try {
            return new Task[] {
                new Task(new Name("Alex Yeoh"),
                    new Comment("Blk 30 Geylang Street 29, #06-40"),
                    new UniqueTagList("friends")),
                new Task(new Name("Bernice Yu"),
                    new Comment("Blk 30 Lorong 3 Serangoon Gardens, #07-18"),
                    new UniqueTagList("colleagues", "friends")),
                new Task(new Name("Charlotte Oliveiro"),
                    new Comment("Blk 11 Ang Mo Kio Street 74, #11-04"),
                    new UniqueTagList("neighbours")),
                new Task(new Name("David Li"),
                    new Comment("Blk 436 Serangoon Gardens Street 26, #16-43"),
                    new UniqueTagList("family")),
                new Task(new Name("Irfan Ibrahim"),
                    new Comment("Blk 47 Tampines Street 20, #17-35"),
                    new UniqueTagList("classmates")),
                new Task(new Name("Roy Balakrishnan"),
                    new Comment("Blk 45 Aljunied Street 85, #11-31"),
                    new UniqueTagList("colleagues"))
            };
        } catch (IllegalValueException e) {
            throw new AssertionError("sample data cannot be invalid", e);
        }
    }

    public static ReadOnlyTaskList getSampleTaskList() {
        try {
            TaskList sampleAB = new TaskList();
            for (Task sampleTask : getSampleTasks()) {
                sampleAB.addTask(sampleTask);
            }
            return sampleAB;
        } catch (DuplicateTaskException e) {
            throw new AssertionError("sample data cannot contain duplicate persons", e);
        }
    }
}

@@ -305,16 +305,100 @@
 k.Name;%0A
+import seedu.tasklist.model.task.Priority;%0Aimport seedu.tasklist.model.task.Status;%0A
 import s
@@ -660,17 +660,15 @@
 me(%22
-Alex Yeoh
+Meeting
 %22),%0A
@@ -704,41 +704,98 @@
 nt(%22
-Blk 30 Geylang Street 29, #06-40%22
+prepare notes%22),%0A                    new Priority(%22high%22),%0A                    new Status(
 ),%0A 
@@ -832,23 +832,20 @@
 agList(%22
-friends
+work
 %22)),%0A   
@@ -880,18 +880,16 @@
 me(%22
-Bernice Yu
+Shopping
 %22),%0A
@@ -925,50 +925,96 @@
 nt(%22
-Blk 30 Lorong 3 Serangoon Gardens, #07-18%22
+with mom%22),%0A                    new Priority(%22medium%22), %0A                    new Status(
 ),%0A 
@@ -1055,29 +1055,14 @@
 st(%22
-colleagues%22, %22friends
+family
 %22)),
@@ -1101,26 +1101,21 @@
 me(%22
-Charlotte Oliveiro
+AI Conference
 %22),%0A
@@ -1151,44 +1151,97 @@
 nt(%22
-Blk 11 Ang Mo Kio Street 74, #11-04%22
+inform boss%22),%0A                    new Priority(%22high%22), %0A                    new Status(
 ),%0A 
@@ -1282,18 +1282,12 @@
 st(%22
-neighbours
+work
 %22)),
@@ -1326,16 +1326,19 @@
 me(%22
-David Li
+Watch Movie
 %22),%0A
@@ -1374,52 +1374,98 @@
 nt(%22
-Blk 436 Serangoon Gardens Street 26, #16-43%22
+need to relax%22),%0A                    new Priority(%22low%22), %0A                    new Status(
 ),%0A 
@@ -1501,32 +1501,43 @@
 TagList(%22family%22
+, %22friends%22
 )),%0A            
@@ -1563,21 +1563,19 @@
 me(%22
-Irfan Ibrahim
+Check Email
 %22),%0A
@@ -1611,42 +1611,100 @@
 nt(%22
-Blk 47 Tampines Street 20, #17-35%22
+check everyday%22),%0A                    new Priority(%22high%22), %0A                    new Status(
 ),%0A 
@@ -1745,18 +1745,12 @@
 st(%22
-classmates
+work
 %22)),
@@ -1789,24 +1789,24 @@
 me(%22
-Roy Balakrishnan
+Dinner with wife
 %22),%0A
@@ -1842,42 +1842,98 @@
 nt(%22
-Blk 45 Aljunied Street 85, #11-31%22
+At Orchard%22),%0A                    new Priority(%22medium%22), %0A                    new Status(
 ),%0A 
@@ -1974,18 +1974,14 @@
 st(%22
-colleagues
+family
 %22))%0A

Update SampleDataUtil.java