package seedu.tasklist.model.task;

import seedu.tasklist.model.tag.UniqueTagList;

/**
 * Represents a Task in the task list.
 * Guarantees: details are present and not null, field values are validated.
 */
public abstract class Task implements ReadOnlyTask {

    public abstract void setName(Name name);

    public abstract Name getName();

    public abstract void setComment(Comment comment);

    public abstract Comment getComment();

    public abstract UniqueTagList getTags();

    public abstract void setPriority(Priority priority);

    public abstract Priority getPriority();

    public abstract void setStatus(Status status);

    public abstract Status getStatus();

    /**
     * Replaces this task's tags with the tags in the argument tag list.
     */
    public abstract void setTags(UniqueTagList replacement);


}

@@ -29,16 +29,73 @@
 .task;%0A%0A
+import java.text.ParseException;%0Aimport java.util.Date;%0A%0A
 import s
@@ -885,12 +885,87 @@
 ement);%0A
+    %0A    public abstract Date getDeadlineParameter() throws ParseException;
 %0A%0A%7D%0A

Add method in Task to sort by deadline