Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.DegreeCurricularPlanEquivalencePlan


        this.sourceDegreeCurricularPlan = sourceDegreeCurricularPlan;
    }

    @Atomic(mode = TxMode.WRITE)
    public DegreeCurricularPlanEquivalencePlan createEquivalencePlan(final DegreeCurricularPlan sourceDegreeCurricularPlan) {
        return new DegreeCurricularPlanEquivalencePlan(degreeCurricularPlan, sourceDegreeCurricularPlan);
    }
View Full Code Here


    }

    protected DegreeCurricularPlan getDegreeCurricularPlan(final Object source) {

        final EquivalencePlanEntryCreator equivalencePlanEntryCreator = (EquivalencePlanEntryCreator) source;
        final DegreeCurricularPlanEquivalencePlan equivalencePlan =
                (DegreeCurricularPlanEquivalencePlan) equivalencePlanEntryCreator.getEquivalencePlan();

        return equivalencePlan.getDegreeCurricularPlan();

    }
View Full Code Here

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;
    }
View Full Code Here

public class DestinationDegreeModuleForEquivalencePlanEntryProvider 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.getDegreeCurricularPlan();
        final Set<DegreeModule> degreeModules = degreeCurricularPlan.getAllDegreeModules();
        return degreeModules;
    }
View Full Code Here

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;
    }
View Full Code Here

    public Registration getSourceRegistrationForTransition() {
        if (getLastDegreeCurricularPlan().getEquivalencePlan() == null) {
            return null;
        }
        final DegreeCurricularPlanEquivalencePlan equivalencePlan = getLastDegreeCurricularPlan().getEquivalencePlan();
        final List<Registration> registrations =
                getStudent().getRegistrationsFor(equivalencePlan.getSourceDegreeCurricularPlan());
        return registrations.isEmpty() ? null : registrations.iterator().next();
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.DegreeCurricularPlanEquivalencePlan

Copyright © 2018 www.massapicom. 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.