public String getSelectedDegreeType() throws FenixFilterException, FenixServiceException {
public String getSelectedDegreeType() {
    public String getSelectedDegreeType() throws FenixFilterException, FenixServiceException {        if (getViewState().getAttribute("selectedDegreeType") == null) {            if (getCurricularRule() != null && getCurricularRule() instanceof AnyCurricularCourse) {                AnyCurricularCourse anyCurricularCourse = (AnyCurricularCourse) getCurricularRule();                if (anyCurricularCourse.getBolonhaDegreeType() != null) {                    setSelectedDegreeType(anyCurricularCourse.getBolonhaDegreeType().name());                }            }        }        return (String) getViewState().getAttribute("selectedDegreeType");    }