@@ -0,0 +1,1342 @@
+package seedu.jimi.model.tag;%0A%0Aimport seedu.jimi.commons.exceptions.IllegalValueException;%0A%0A/*%0A * Represents the priority of the tasks & events in Jimi.%0A * %0A * Priorities can be classified into: LOW, MED & HIGH%0A */%0A%0Apublic class Priority extends Tag%7B%0A    %0A    public static final String MESSAGE_PRIORITY_CONSTRAINTS = %22Priority names should only be: LOW, MED or HIGH. %22;%0A%0A    public final static String priorityLow = %22LOW%22;%0A    public final static String priorityMed = %22MED%22;%0A    public final static String priorityHigh = %22HIGH%22;%0A            %0A    public Priority()   %7B%0A        tagName = %22med%22; %0A    %7D%0A    %0A    /**%0A     * Validates given priority name.%0A     *%0A     * @throws IllegalValueException if the given tag name string is invalid.%0A     */%0A    public Priority(String name) throws IllegalValueException %7B%0A        assert name != null;%0A        name = name.trim();%0A        if (!isValidPriorityName(name)) %7B%0A            throw new IllegalValueException(MESSAGE_TAG_CONSTRAINTS);%0A        %7D%0A        this.tagName = name;%0A    %7D%0A    %0A    /**%0A     * Returns true if a given string is a valid priority name.%0A     */%0A    public static boolean isValidPriorityName(String test) %7B%0A        if (test == priorityLow %7C%7C test == priorityMed %7C%7C test == priorityHigh)    %7B%0A            return true;%0A        %7D%0A        else %0A            return false;%0A    %7D%0A    %0A%7D%0A

Add Priority Class