Package org.fenixedu.academic.domain.interfaces

Examples of org.fenixedu.academic.domain.interfaces.HasExecutionDegree


    public Object provide(Object source, Object currentValue) {

        Integer index = null;

        if (source instanceof HasExecutionDegree) {
            HasExecutionDegree bean = (HasExecutionDegree) source;
            index = bean.getExecutionDegree() != null ? bean.getExecutionDegree().getDegree().getDegreeType().getYears() : null;
        }

        List<CurricularYear> curricularYearsSet = new ArrayList<CurricularYear>();
        curricularYearsSet.addAll(Bennu.getInstance().getCurricularYearsSet());
        Collections.sort(curricularYearsSet, CurricularYear.CURRICULAR_YEAR_COMPARATORY_BY_YEAR);
View Full Code Here


        final List<ExecutionCourse> executionCourses = new ArrayList<ExecutionCourse>();

        final HasExecutionSemester hasExecutionSemester = (HasExecutionSemester) source;
        final ExecutionSemester executionPeriod = hasExecutionSemester.getExecutionPeriod();

        final HasExecutionDegree hasExecutionDegree = (HasExecutionDegree) source;
        final ExecutionDegree executionDegree = hasExecutionDegree.getExecutionDegree();
        final DegreeCurricularPlan degreeCurricularPlan = executionDegree.getDegreeCurricularPlan();

        if (executionPeriod != null && executionDegree != null) {
            for (final ExecutionCourse executionCourse : executionPeriod.getAssociatedExecutionCoursesSet()) {
                if (matches(executionCourse, degreeCurricularPlan)) {
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.interfaces.HasExecutionDegree

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.