return (Integer) getViewState().getAttribute("competenceCourseID");
return competenceCourseID;
    public Integer getCompetenceCourseID() throws FenixFilterException, FenixServiceException {        if (getViewState().getAttribute("competenceCourseID") == null && getCurricularCourse() != null) {            getViewState().setAttribute("competenceCourseID",                    getCurricularCourse().getCompetenceCourse().getIdInternal());        }        return (Integer) getViewState().getAttribute("competenceCourseID");    }