Examples of EquivalencyPlanEntryWrapper


Examples of org.fenixedu.academic.domain.studentCurricularPlan.equivalencyPlan.EquivalencyPlanEntryWrapper

        for (final EquivalencePlanEntry equivalencePlanEntry : degreeCurricularPlan.getEquivalencePlan().getEntriesSet()) {
            if (hasAllEnrolmentsFor(equivalencePlanEntry, getOldStudentCurricularPlan())
                    && (curriculumModule == null || matchOrigin(equivalencePlanEntry, curriculumModule.getDegreeModule()))) {
                if (getEntriesToRemoveSet().contains(equivalencePlanEntry)) {
                    equivalencePlanEntries.add(new EquivalencyPlanEntryWrapper(equivalencePlanEntry, true));
                } else {
                    equivalencePlanEntries.add(new EquivalencyPlanEntryWrapper(equivalencePlanEntry, false));
                }
            }
        }

        for (final EquivalencePlanEntry equivalencePlanEntry : getEntriesSet()) {
            if (equivalencePlanEntry.isFor(degreeCurricularPlan)
                    && (curriculumModule == null || equivalencePlanEntry.isFor(curriculumModule.getDegreeModule()))) {
                equivalencePlanEntries.add(new EquivalencyPlanEntryWrapper(equivalencePlanEntry, false));
            }
        }

        return equivalencePlanEntries;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.