endExecutionPeriodID) };
getFinalEndExecutionPeriodID()) };
    private Object[] getArgumentsToCreate() throws FenixFilterException, FenixServiceException,            FenixActionException {        final CurricularCourseType curricularCourseType = CurricularCourseType.valueOf(getSelectedCurricularCourseType());        final Integer endExecutionPeriodID = (getEndExecutionPeriodID() == null || getEndExecutionPeriodID()                .equals(NO_SELECTION)) ? null : getEndExecutionPeriodID();        if (curricularCourseType.equals(CurricularCourseType.NORMAL_COURSE)) {            checkCompetenceCourse();            return new Object[] { new CreateCurricularCourse.CreateCurricularCourseArgs(getWeight(),                    getPrerequisites(), getPrerequisitesEn(), getCompetenceCourseID(),                    getCourseGroupID(), getCurricularYearID(), getCurricularSemesterID(),                    getDegreeCurricularPlanID(), getBeginExecutionPeriodID(), endExecutionPeriodID) };        } else if (curricularCourseType.equals(CurricularCourseType.OPTIONAL_COURSE)) {            checkCurricularCourseNameAndNameEn();            return new Object[] { new CreateCurricularCourse.CreateOptionalCurricularCourseArgs(                    getDegreeCurricularPlanID(), getCourseGroupID(), getName(), getNameEn(),                    getCurricularYearID(), getCurricularSemesterID(), getBeginExecutionPeriodID(),                    endExecutionPeriodID) };        }        return null;    }