}
}
private void fillCurricularCourse(final Spreadsheet spreadsheet, CurricularCourse curricularCourse,
CurricularPeriod curricularPeriod, String parentCourseGroupName) {
final Row row = spreadsheet.addRow();
row.setCell(curricularCourse.getName());
row.setCell(parentCourseGroupName);
if (curricularCourse.isOptional()) {
row.setCell(""); // scientific area unit name
row.setCell(""); // scientific area unit acronym
row.setCell(""); // regime
row.setCell(curricularPeriod.getParent().getChildOrder() == null ? "" : curricularPeriod.getParent().getChildOrder()
.toString());
row.setCell(curricularPeriod.getChildOrder().toString());
row.setCell(""); // ects
row.setCell(""); // t
row.setCell(""); // tp
row.setCell(""); // pl
row.setCell(""); // tc
row.setCell(""); // s
row.setCell(""); // e
row.setCell(""); // ot
row.setCell(""); // ta
} else {
row.setCell(curricularCourse.getCompetenceCourse().getScientificAreaUnit().getName());
row.setCell(curricularCourse.getCompetenceCourse().getScientificAreaUnit().getAcronym());
row.setCell(BundleUtil.getString(Bundle.ENUMERATION, curricularCourse.getCompetenceCourse().getRegime().toString()));
row.setCell(curricularPeriod.getParent().getChildOrder() == null ? "" : curricularPeriod.getParent().getChildOrder()
.toString());
row.setCell(curricularPeriod.getChildOrder().toString());
row.setCell(curricularCourse.getEctsCredits(curricularPeriod).toString());
row.setCell(curricularCourse.getTheoreticalHours(curricularPeriod).toString());
row.setCell(curricularCourse.getProblemsHours(curricularPeriod).toString());
row.setCell(curricularCourse.getLaboratorialHours(curricularPeriod).toString());
row.setCell(curricularCourse.getFieldWorkHours(curricularPeriod).toString());
row.setCell(curricularCourse.getSeminaryHours().toString());
row.setCell(curricularCourse.getTrainingPeriodHours(curricularPeriod).toString());
row.setCell(curricularCourse.getTutorialOrientationHours(curricularPeriod).toString());
row.setCell(curricularCourse.getAutonomousWorkHours(curricularPeriod).toString());
}
row.setCell(""); // notes
}