public class DestinationDegreeModuleForStudentEquivalencyPlanEntryCreatorProvider implements DataProvider {
@Override
public Object provide(Object source, Object currentValue) {
final StudentEquivalencyPlanEntryCreator studentEquivalencyPlanEntryCreator = (StudentEquivalencyPlanEntryCreator) source;
final DegreeCurricularPlanEquivalencePlan equivalencePlan =
studentEquivalencyPlanEntryCreator.getDegreeCurricularPlanEquivalencePlan();
final DegreeCurricularPlan degreeCurricularPlan = equivalencePlan.getDegreeCurricularPlan();
final Set<DegreeModule> degreeModules = degreeCurricularPlan.getAllDegreeModules();
return degreeModules;
}