public Integer getSelectedDegreeModuleID() throws FenixFilterException, FenixServiceException {
public Integer getSelectedDegreeModuleID() {
    public Integer getSelectedDegreeModuleID() throws FenixFilterException, FenixServiceException {        if (getViewState().getAttribute("selectedDegreeModuleID") == null && getCurricularRule() != null) {            if (getCurricularRule() instanceof PrecedenceRule) {                setSelectedDegreeModuleID(((PrecedenceRule) getCurricularRule()).getPrecedenceDegreeModule().getIdInternal());                            } else if (getCurricularRule() instanceof Exclusiveness) {                setSelectedDegreeModuleID(((Exclusiveness) getCurricularRule()).getExclusiveDegreeModule().getIdInternal());            }        }        return (Integer) getViewState().getAttribute("selectedDegreeModuleID");    }