final public String getDegreeDescription(ExecutionYear executionYear, final CycleType cycleType, final Locale locale) {
final StringBuilder res = new StringBuilder();
final Degree degree = getDegree();
final DegreeType degreeType = degree.getDegreeType();
if (getDegreeType() != DegreeType.BOLONHA_ADVANCED_FORMATION_DIPLOMA && cycleType != null) {
res.append(cycleType.getDescription(locale)).append(",");
res.append(" ").append(BundleUtil.getString(Bundle.ACADEMIC, locale, "label.of.the.male")).append(" ");
}
if (!isEmptyDegree() && !degreeType.isEmpty()) {
res.append(degreeType.getPrefix(locale));
res.append(degreeType.getFilteredName(locale).toUpperCase());
if (getDegreeType() == DegreeType.BOLONHA_ADVANCED_FORMATION_DIPLOMA && cycleType != null) {
res.append(" (").append(cycleType.getDescription(locale)).append(")");
}
res.append(" ").append(BundleUtil.getString(Bundle.ACADEMIC, locale, "label.in")).append(" ");