&& (executionCourseID == null || executionCourseID.equals(executionCourse.getIdInternal()))) {
&& (getExecutionCourseID() == null || getExecutionCourseID().equals(executionCourse.getIdInternal()))) {
    public List<CalendarLink> getCalendarLinks() throws FenixFilterException, FenixServiceException {        List<CalendarLink> calendarLinks = new ArrayList<CalendarLink>();        final ExecutionPeriod executionPeriod = getExecutionPeriod();        final Student student = getStudent();        for (final Attends attends : student.getAssociatedAttends()) {        	final ExecutionCourse executionCourse = attends.getDisciplinaExecucao();        	if (executionCourse.getExecutionPeriod() == executionPeriod                    && (executionCourseID == null || executionCourseID.equals(executionCourse.getIdInternal()))) {                for (final Evaluation evaluation : executionCourse.getAssociatedEvaluations()) {                    if (evaluation instanceof WrittenEvaluation) {                        final WrittenEvaluation writtenEvaluation = (WrittenEvaluation) evaluation;                        final String evaluationTypeClassname = getEvaluationTypeClassname();                        if (evaluationTypeClassname == null                                || evaluationTypeClassname.length() == 0                                || evaluationTypeClassname.equals(writtenEvaluation.getClass().getName())) {                            CalendarLink calendarLink = new CalendarLink();                            calendarLinks.add(calendarLink);                            calendarLink.setObjectOccurrence(writtenEvaluation.getDay());                            calendarLink.setObjectLinkLabel(constructCalendarPresentation(executionCourse, writtenEvaluation));                            calendarLink.setLinkParameters(constructLinkParameters(executionCourse));                        }                    } else if (evaluation instanceof Project) {                        final Project project = (Project) evaluation;                        final String evaluationTypeClassname = getEvaluationTypeClassname();                        if (evaluationTypeClassname == null                                || evaluationTypeClassname.length() == 0                                || evaluationTypeClassname.equals(project.getClass().getName())) {                            CalendarLink calendarLinkBegin = new CalendarLink();                            calendarLinks.add(calendarLinkBegin);                            calendarLinkBegin.setObjectOccurrence(project.getBegin());                            calendarLinkBegin.setObjectLinkLabel(constructCalendarPresentation(executionCourse, project, project.getBegin(), messages.getMessage("label.evaluation.project.begin")));                            calendarLinkBegin.setLinkParameters(constructLinkParameters(executionCourse));                            CalendarLink calendarLinkEnd = new CalendarLink();                            calendarLinks.add(calendarLinkEnd);                            calendarLinkEnd.setObjectOccurrence(project.getEnd());                            calendarLinkEnd.setObjectLinkLabel(constructCalendarPresentation(executionCourse, project, project.getEnd(), messages.getMessage("label.evaluation.project.end")));                            calendarLinkEnd.setLinkParameters(constructLinkParameters(executionCourse));                        }                    }                }        		        	}        }        return calendarLinks;    }