package Information;

public enum ClassYear {
    FRESHMAN, SOPHOMORE, JUNIOR, SENIOR, POST_BACC, NON_DEGREE, OTHER
}

@@ -108,11 +108,333 @@
 E, OTHER
+;%0A%0A    ClassYear() %7B%7D%0A%0A    public static ClassYear getClassYear(String classYear) %7B%0A        for (ClassYear cy : ClassYear.values()) %7B%0A            if (cy.name().equals(classYear)) %7B%0A                return cy;%0A            %7D%0A        %7D%0A        throw new IllegalArgumentException(classYear + %22 is not a valid ClassYear%22);%0A    %7D
 %0A%7D%0A

Add ClassYear getter via String