@Override
public Set<IDegreeModuleToEvaluate> getDegreeModulesToEvaluate(final ExecutionSemester executionSemester) {
if (isValid(executionSemester) && isEnroled()) {
if (isFromExternalDegree()) {
return Collections
.<IDegreeModuleToEvaluate> singleton(new ExternalDegreeEnrolmentWrapper(this, executionSemester));
} else {
return Collections.<IDegreeModuleToEvaluate> singleton(new EnroledEnrolmentWrapper(this, executionSemester));
}
}
return Collections.emptySet();