row.setCell(enrolment.getName().getContent());
row.setCell(enrolment.getExecutionYear().getName());
final CycleCurriculumGroup cycle = enrolment.getParentCycleCurriculumGroup();
final BranchCurriculumGroup major = cycle == null ? null : cycle.getMajorBranchCurriculumGroup();
row.setCell(major != null ? major.getName().getContent() : "");
final BranchCurriculumGroup minor = cycle == null ? null : cycle.getMinorBranchCurriculumGroup();
row.setCell(minor != null ? minor.getName().getContent() : "");
row.setCell(getNumberOfEnrolments(enrolment));
}
}