IEnrolment enrollment = (IEnrolment) enrollmentDAO.readByOID(Enrolment.class, enrollmentID);
IEnrollment enrollment = (IEnrollment) enrollmentDAO.readByOID(Enrolment.class, enrollmentID);
	protected Object execute(Object object) throws FenixServiceException	{		List input = (List) object;				Integer studentNumber = (Integer) input.get(0);		TipoCurso degreeType = (TipoCurso) input.get(1);		List idsOfChosenEnrollmentsToGiveEquivalence = (List) input.get(2);		List idsOfChosenCurricularCoursesToGetEquivalence = (List) input.get(3);				List output = new ArrayList();		try		{			ISuportePersistente persistenceDAO = SuportePersistenteOJB.getInstance();			IPersistentEnrolment enrollmentDAO = persistenceDAO.getIPersistentEnrolment();			IPersistentCurricularCourse curricularCourseDAO = persistenceDAO.getIPersistentCurricularCourse();			List enrollmentsToGiveEquivalence = new ArrayList();			for (int i = 0; i < idsOfChosenEnrollmentsToGiveEquivalence.size(); i++)			{				Integer enrollmentID = (Integer) idsOfChosenEnrollmentsToGiveEquivalence.get(i);				IEnrolment enrollment = (IEnrolment) enrollmentDAO.readByOID(Enrolment.class, enrollmentID);				enrollmentsToGiveEquivalence.add(enrollment);			}			List curricularCoursesToGetEquivalence = new ArrayList();			for (int i = 0; i < idsOfChosenCurricularCoursesToGetEquivalence.size(); i++)			{				Integer curricularCourseID = (Integer) idsOfChosenCurricularCoursesToGetEquivalence.get(i);				ICurricularCourse curricularCourse = (ICurricularCourse) curricularCourseDAO.readByOID(CurricularCourse.class,					curricularCourseID);				curricularCoursesToGetEquivalence.add(curricularCourse);			}			output.add(0, enrollmentsToGiveEquivalence);			output.add(1, curricularCoursesToGetEquivalence);			output.add(2, getActiveStudentCurricularPlan(studentNumber, degreeType));		} catch (ExcepcaoPersistencia e)		{			throw new FenixServiceException(e);		}		return output;	}