return getAcademicServiceRequest().getRegistration();
}
@Override
public LabelFormatter getDescriptionForEntryType(EntryType entryType) {
final LabelFormatter labelFormatter = new LabelFormatter();
labelFormatter.appendLabel(entryType.name(), LabelFormatter.ENUMERATION_RESOURCES);
labelFormatter.appendLabel(" (");
labelFormatter.appendLabel("label.in", LabelFormatter.APPLICATION_RESOURCES);
labelFormatter.appendLabel(" ");
labelFormatter.appendLabel(getRegistration().getLastDegreeCurricularPlan().getName());
labelFormatter.appendLabel(")");
if (getAcademicServiceRequest().getExecutionYear() != null) {
labelFormatter.appendLabel(" - " + getExecutionYear().getYear());
}
return labelFormatter;
}