public class OriginDegreeModuleForEquivalencePlanEntryProvider implements DataProvider {
@Override
public Object provide(Object source, Object currentValue) {
final EquivalencePlanEntryCreator equivalencePlanEntryCreator = (EquivalencePlanEntryCreator) source;
final DegreeCurricularPlanEquivalencePlan equivalencePlan =
(DegreeCurricularPlanEquivalencePlan) equivalencePlanEntryCreator.getEquivalencePlan();
final DegreeCurricularPlan degreeCurricularPlan = equivalencePlan.getSourceDegreeCurricularPlan();
final Set<DegreeModule> degreeModules = degreeCurricularPlan.getAllDegreeModules();
return degreeModules;
}