addParameter("coorientatorAffiliation", EMPTY_STR);
}
}
protected void fillJury() {
final ThesisEvaluationParticipant juryPresident = thesis.getPresident();
addParameter("juryPresidentName", juryPresident.getPerson().getName());
addParameter("juryPresidentCategory", participantCategoryName(juryPresident));
addParameter("juryPresidentAffiliation", neverNull(juryPresident.getAffiliation()));
final Set<ThesisEvaluationParticipant> vowels =
new TreeSet<ThesisEvaluationParticipant>(ThesisEvaluationParticipant.COMPARATOR_BY_PERSON_NAME);
vowels.addAll(thesis.getVowels());
Iterator<ThesisEvaluationParticipant> iterator = vowels.iterator();
int guidanceVowel = 0;
for (int i = 1; i <= 4; i++) {
final String vowelPrefix = "vowel" + i;
if (iterator.hasNext()) {
ThesisEvaluationParticipant vowel = iterator.next();
if (guidanceVowel == 0 && isGuidanceVowel(vowel)) {
guidanceVowel = i;
}
addParameter(vowelPrefix + "Name", vowel.getPerson().getName());
addParameter(vowelPrefix + "Category", participantCategoryName(vowel));
addParameter(vowelPrefix + "Affiliation", neverNull(vowel.getAffiliation()));
} else {
addParameter(vowelPrefix + "Name", EMPTY_STR);
addParameter(vowelPrefix + "Category", EMPTY_STR);
addParameter(vowelPrefix + "Affiliation", EMPTY_STR);
}