public IEnrolment readEnrolmentByStudentCurricularPlanAndCurricularCourse(
public IEnrollment readEnrolmentByStudentCurricularPlanAndCurricularCourse(
    public IEnrolment readEnrolmentByStudentCurricularPlanAndCurricularCourse(            IStudentCurricularPlan studentCurricularPlan,            ICurricularCourse curricularCourse, String year)            throws ExcepcaoPersistencia {        Criteria criteria = new Criteria();        criteria.addEqualTo("curricularCourse.idInternal", curricularCourse                .getIdInternal());        criteria.addEqualTo("executionPeriod.executionYear.year", year);        criteria.addEqualTo("studentCurricularPlan.student.number",                studentCurricularPlan.getStudent().getNumber());        return (IEnrolment) queryObject(Enrolment.class, criteria);    }