IEnrolment enrolment = (IEnrolment) input;
IEnrollment enrolment = (IEnrollment) input;
	private InfoStudentEnrolmentContext buildResult(		IStudentCurricularPlan studentCurricularPlan,		List enrollments)	{		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")));		}		InfoStudentEnrolmentContext infoStudentEnrolmentContext = new InfoStudentEnrolmentContext();		infoStudentEnrolmentContext.setInfoStudentCurricularPlan(infoStudentCurricularPlan);		infoStudentEnrolmentContext.setStudentInfoEnrollmentsWithStateEnrolled(infoEnrollments);		return infoStudentEnrolmentContext;	}