spreadsheet.setHeader("Distribuicao Creditos Orientador");
spreadsheet.setHeader("Affiliacao Corientador");
spreadsheet.setHeader("Distribuicao Creditos Corientador");
for (final Thesis thesis : getRootDomainObject().getThesesSet()) {
final Enrolment enrolment = thesis.getEnrolment();
final ExecutionSemester executionPeriod = enrolment.getExecutionPeriod();
if (executionPeriod.getExecutionYear() == executionYear) {
final ThesisPresentationState thesisPresentationState =
ThesisPresentationState.getThesisPresentationState(thesis);;
final Degree degree = enrolment.getStudentCurricularPlan().getDegree();
final DegreeType degreeType = degree.getDegreeType();
final Row row = spreadsheet.addRow();
row.setCell(thesis.getStudent().getNumber().toString());
row.setCell(thesis.getStudent().getPerson().getName());