IEnrolment enrolmentForCriteria = new Enrolment();
IEnrollment enrolmentForCriteria = new Enrolment();
    private IEnrolmentEvaluation getEnrolmentEvaluation(            IPersistentEnrolmentEvaluation persistentEnrolmentEvaluation,            InfoEnrolmentEvaluation infoEnrolmentEvaluation) throws ExcepcaoPersistencia,            FenixServiceException    {        IEnrolment enrolmentForCriteria = new Enrolment();        enrolmentForCriteria.setIdInternal(infoEnrolmentEvaluation.getInfoEnrolment().getIdInternal());        IEnrolmentEvaluation enrolmentEvaluationForCriteria = new EnrolmentEvaluation();        enrolmentEvaluationForCriteria.setEnrolment(enrolmentForCriteria);        List enrolmentEvaluationsForEnrolment = persistentEnrolmentEvaluation                .readByCriteria(enrolmentEvaluationForCriteria);        if (enrolmentEvaluationsForEnrolment.size() == 0) {        //		it will never happen!!        throw new FenixServiceException(); }        Collections.sort(enrolmentEvaluationsForEnrolment, new BeanComparator("enrolment.idInternal"));        //		we want last enrolment evaluation in case of improvement        IEnrolmentEvaluation enrolmentEvaluation = (IEnrolmentEvaluation) enrolmentEvaluationsForEnrolment                .get(enrolmentEvaluationsForEnrolment.size() - 1);        return enrolmentEvaluation;    }