ICurricularCourse curricularCourse = ((IEnrolment) obj)
ICurricularCourse curricularCourse = ((IEnrollment) obj)
	public void calculateStudentAcumulatedEnrollments() {		List enrollments = this				.getAllEnrollmentsInCoursesWhereStudentIsEnrolledAtTheMoment();		List curricularCourses = (List) CollectionUtils.collect(enrollments,				new Transformer() {					public Object transform(Object obj) {						ICurricularCourse curricularCourse = ((IEnrolment) obj)								.getCurricularCourse();						return curricularCourse								.getCurricularCourseUniqueKeyForEnrollment();					}				});		setAcumulatedEnrollmentsMap(CollectionUtils				.getCardinalityMap(curricularCourses));	}