IEnrolment enrolment = (IEnrolment) iterator.next();
IEnrollment enrolment = (IEnrollment) iterator.next();
	public List run(InfoStudentCurricularPlan infoStudentCurricularPlan, EnrolmentState enrolmentState) throws FenixServiceException, Exception {		ISuportePersistente sp = null;		List enrolmentList = null;		try {			sp = SuportePersistenteOJB.getInstance();		    IStudentCurricularPlan iStudentCurricularPlan = Cloner.copyInfoStudentCurricularPlan2IStudentCurricularPlan(infoStudentCurricularPlan);						// Read the list 						enrolmentList = sp.getIPersistentEnrolment().readEnrolmentsByStudentCurricularPlanAndEnrolmentState(iStudentCurricularPlan, enrolmentState);			} catch (ExcepcaoPersistencia ex) {			FenixServiceException newEx = new FenixServiceException("Persistence layer error");			newEx.fillInStackTrace();			throw newEx;		} 					List result = new ArrayList();		Iterator iterator = enrolmentList.iterator();		while(iterator.hasNext()) {			    IEnrolment enrolment = (IEnrolment) iterator.next();		    if(!enrolment.getCurricularCourse().getType().equals(CurricularCourseType.P_TYPE_COURSE_OBJ)){		        result.add(Cloner.copyIEnrolment2InfoEnrolment(enrolment));			    }		}						return result;			}