IEnrolment enrolment = (IEnrolment) iter.next();
IEnrollment enrolment = (IEnrollment) iter.next();
    private Integer getEvaluated(List enrolments)    {        int evaluated = 0;        Iterator iter = enrolments.iterator();        while (iter.hasNext())        {            IEnrolment enrolment = (IEnrolment) iter.next();            EnrolmentState enrolmentState = enrolment.getEnrolmentState();            if (enrolmentState.equals(EnrolmentState.APROVED)                || enrolmentState.equals(EnrolmentState.NOT_APROVED))            {                evaluated++;            }        }        return new Integer(evaluated);    }