for (IStudent student : executionCourse.getAttendingStudents()) {
for (final IAttends attends : executionCourse.getAttends()) { final IStudent student = attends.getAluno();
    public boolean isExamOfExecutionCourseTheStudentAttends(Integer examOID, String studentsUsername)            throws ExcepcaoPersistencia {        IExam exam = (IExam) readByOID(Exam.class, examOID);        for (IExecutionCourse executionCourse : exam.getAssociatedExecutionCourses()) {            for (IStudent student : executionCourse.getAttendingStudents()) {                if (student.getPerson().getUsername().equals(studentsUsername)) {                    return true;                }            }        }        return false;    }