@@ -0,0 +1,501 @@
+package utask.model.task;%0A//@@author A0138423J%0Apublic enum TaskType %7B%0A    EVENT, DEADLINE, FLOATING, UNKNOWN;%0A%0A    String key;%0A%0A    TaskType(String key) %7B%0A        this.key = key;%0A    %7D%0A%0A    TaskType() %7B%0A    %7D%0A%0A    TaskType getValue(String attribute) %7B%0A        switch (attribute) %7B%0A        case %22event%22:%0A            return EVENT;%0A        case %22deadline%22:%0A            return DEADLINE;%0A        case %22floating%22:%0A            return FLOATING;%0A        default:%0A            return UNKNOWN;%0A        %7D%0A    %7D%0A%0A%7D%0A

Add TaskType Enumeration to aid when checking task type