IEnrolment enrollment =
IEnrollment enrollment =
	private void findEnrollmentForAttend(		IPersistentEnrolment persistentEnrolment,		IStudentCurricularPlan studentCurricularPlan,		IExecutionCourse executionCourse,		IFrequenta attendsEntry)		throws ExcepcaoPersistencia	{		// checks if there is an enrollment for this attend		Iterator iterCurricularCourses = executionCourse.getAssociatedCurricularCourses().iterator();		while (iterCurricularCourses.hasNext())		{			ICurricularCourse curricularCourseElem = (ICurricularCourse) iterCurricularCourses.next();			IEnrolment enrollment =				persistentEnrolment.readByStudentCurricularPlanAndCurricularCourseAndExecutionPeriod(					studentCurricularPlan,					curricularCourseElem,					executionCourse.getExecutionPeriod());			if (enrollment != null)			{				attendsEntry.setEnrolment(enrollment);				break;			}		}	}