}
private void createQualification() {
DFACandidacy dfaCandidacy = (DFACandidacy) getCandidacy();
if (dfaCandidacy.getPrecedentDegreeInformation() != null) {
Qualification qualification = new Qualification();
qualification.setPerson(dfaCandidacy.getPerson());
qualification.setMark(dfaCandidacy.getPrecedentDegreeInformation().getConclusionGrade());
qualification.setSchool(dfaCandidacy.getPrecedentDegreeInformation().getInstitutionName());
qualification.setDegree(dfaCandidacy.getPrecedentDegreeInformation().getDegreeDesignation());
if (dfaCandidacy.getPrecedentDegreeInformation().getConclusionYear() != null) {
qualification.setDateYearMonthDay(new YearMonthDay(dfaCandidacy.getPrecedentDegreeInformation()
.getConclusionYear(), 1, 1));
}
qualification.setCountry(dfaCandidacy.getPrecedentDegreeInformation().getCountry());
}
}