IEnrolment enrolment = (IEnrolment) iterator.next();
IEnrollment enrolment = (IEnrollment) iterator.next();
    private List clonerEnrolments(List enrolments)    {        List infoEnrolments = null;        if (enrolments != null || enrolments.size() > 0)        {            infoEnrolments = new ArrayList();            ListIterator iterator = enrolments.listIterator();            while (iterator.hasNext())            {                IEnrolment enrolment = (IEnrolment) iterator.next();                try                {                    infoEnrolments.add(Cloner.copyIEnrolment2InfoEnrolment(enrolment));                }                catch (Exception exception)                {                    System.out.println("-->"                            + enrolment.getStudentCurricularPlan().getStudent().getNumber());                    exception.printStackTrace();                }            }        }        return infoEnrolments;    }