package at.ac.tuwien.inso.entity;

public enum SemesterType {

    WinterSemester("WS"),
    SummerSemester("SS");

}

@@ -109,10 +109,498 @@
 %22SS%22);%0A%0A
+    private final String name;%0A%0A    SemesterType(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return name;%0A    %7D%0A%0A    public static SemesterType fromString(String name) %7B%0A        for (SemesterType type : SemesterType.values()) %7B%0A            if (type.toString().equals(name)) %7B%0A                return type;%0A            %7D%0A        %7D%0A%0A        throw new IllegalArgumentException(%22Type '%22 + name + %22' is not a valid SemesterType%22);%0A    %7D%0A
 %7D%0A

Implement SemesterType enum