} else {
row.createCell(String.valueOf(attends.getEnrolment().getNumberOfTotalEnrolmentsInThisCourse(
attends.getEnrolment().getExecutionPeriod())));
}
final StudentAttendsStateType stateType = attends.getAttendsStateType();
row.createCell(stateType != null ? BundleUtil.getString(Bundle.ENUMERATION, stateType.getQualifiedName()) : "--");
row.createCell(attends.getStudentCurricularPlanFromAttends().getDegreeCurricularPlan().getName());
final RegistrationState registrationState =
attends.getRegistration().getLastRegistrationState(attends.getExecutionYear());
row.createCell(registrationState == null ? "" : registrationState.getStateType().getDescription());
row.createCell(attends.getRegistration().getStudent().getPerson().getFirstAndLastName());