IEnrolment enrollment = (IEnrolment) studentEnrollments.get(i);
IEnrollment enrollment = (IEnrollment) studentEnrollments.get(i);
	protected Object execute(Object object) throws FenixServiceException	{		List input = (List) object;				Integer fromStudentCurricularPlanID = (Integer) input.get(0);		Integer studentNumber = (Integer) input.get(1);		TipoCurso degreeType = (TipoCurso) input.get(2);				List output = new ArrayList();		try		{			ISuportePersistente persistenceDAO = SuportePersistenteOJB.getInstance();			IStudentCurricularPlanPersistente studentCurricularPlanDAO = persistenceDAO.getIStudentCurricularPlanPersistente();			IPersistentEnrolmentEquivalence enrollmentEquivalenceDAO = persistenceDAO.getIPersistentEnrolmentEquivalence();			IStudentCurricularPlan fromStudentCurricularPlan = (IStudentCurricularPlan) studentCurricularPlanDAO.readByOID(				StudentCurricularPlan.class, fromStudentCurricularPlanID);			List studentEnrollments = fromStudentCurricularPlan.getEnrolments();			List enrollmentsFromEquivalences = new ArrayList();			for (int i = 0; i < studentEnrollments.size(); i++)			{				IEnrolment enrollment = (IEnrolment) studentEnrollments.get(i);								IEnrolmentEquivalence enrollmentEquivalence = enrollmentEquivalenceDAO.readByEnrolment(enrollment);				if (enrollmentEquivalence != null)				{					enrollmentsFromEquivalences.add(enrollment);				}			}			output.add(0, enrollmentsFromEquivalences);			output.add(1, getActiveStudentCurricularPlan(studentNumber, degreeType));		} catch (ExcepcaoPersistencia e)		{			throw new FenixServiceException(e);		}		return output;	}