IEnrolment enrolment = (IEnrolment) input;
IEnrollment enrolment = (IEnrollment) input;
	private InfoStudentEnrolmentContext buildResult(IStudentCurricularPlan studentCurricularPlan, List enrollments, List courses,		IExecutionYear executionYear)	{		InfoStudentCurricularPlan infoStudentCurricularPlan = Cloner			.copyIStudentCurricularPlan2InfoStudentCurricularPlan(studentCurricularPlan);		List infoEnrollments = new ArrayList();		if (enrollments != null && enrollments.size() > 0)		{			infoEnrollments = (List) CollectionUtils.collect(enrollments, new Transformer()			{				public Object transform(Object input)				{					IEnrolment enrolment = (IEnrolment) input;					return Cloner.copyIEnrolment2InfoEnrolment(enrolment);				}			});			Collections.sort(infoEnrollments, new BeanComparator(("infoCurricularCourse.name")));		}		List infoCurricularCourses = new ArrayList();		if (courses != null && courses.size() > 0)		{			infoCurricularCourses = (List) CollectionUtils.collect(courses, new Transformer()			{				public Object transform(Object input)				{					ICurricularCourse curricularCourse = (ICurricularCourse) input;					return Cloner.copyCurricularCourse2InfoCurricularCourse(curricularCourse);				}			});			Collections.sort(infoCurricularCourses, new BeanComparator(("name")));		}		InfoExecutionYear infoExecutionYear = (InfoExecutionYear) Cloner.get(executionYear);		InfoExecutionPeriod infoExecutionPeriod = new InfoExecutionPeriod();		infoExecutionPeriod.setInfoExecutionYear(infoExecutionYear);		InfoStudentEnrolmentContext infoStudentEnrolmentContext = new InfoStudentEnrolmentContext();		infoStudentEnrolmentContext.setInfoStudentCurricularPlan(infoStudentCurricularPlan);		infoStudentEnrolmentContext.setStudentInfoEnrollmentsWithStateEnrolled(infoEnrollments);		infoStudentEnrolmentContext.setFinalInfoCurricularCoursesWhereStudentCanBeEnrolled(infoCurricularCourses);		infoStudentEnrolmentContext.setInfoExecutionPeriod(infoExecutionPeriod);		return infoStudentEnrolmentContext;	}