}
}
private ShiftToEnrol buildShiftToEnrol(Attends attends) {
final ShiftToEnrol result = new ShiftToEnrol();
findShiftTypesFromExecutionCourse(attends, result);
findShiftsForExecutionCourseShiftTypesFromStudentEnroledShifts(attends, result);
result.setExecutionCourse(attends.getExecutionCourse());
result.setEnrolled(attends.getEnrolment() != null);
return result;
}