Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.Branch


    private String findGroup(final CurricularCourse curricularCourse, final DegreeModuleScope degreeModuleScope) {
        if (degreeModuleScope != null) {
            if (degreeModuleScope instanceof DegreeModuleScopeCurricularCourseScope) {
                final DegreeModuleScopeCurricularCourseScope degreeModuleScopeCurricularCourseScope =
                        (DegreeModuleScopeCurricularCourseScope) degreeModuleScope;
                final Branch branch = degreeModuleScopeCurricularCourseScope.getCurricularCourseScope().getBranch();
                return branch == null ? " " : branch.getName();
            } else {
                final DegreeModuleScopeContext degreeModuleScopeContext = (DegreeModuleScopeContext) degreeModuleScope;
                final Context context = degreeModuleScopeContext.getContext();
                return context.getParentCourseGroup().getName();
            }
View Full Code Here


        final Registration registration = studentCurricularPlan.getRegistration();
        final Student student = registration.getStudent();
        final Person person = student.getPerson();
        final DegreeCurricularPlan degreeCurricularPlan = studentCurricularPlan.getDegreeCurricularPlan();
        final Degree degree = degreeCurricularPlan.getDegree();
        final Branch branch = studentCurricularPlan.getBranch();
        StudentDataShareAuthorization dataAccess =
                student.getPersonalDataAuthorizationAt(executionYear.getEndDateYearMonthDay().toDateTimeAtMidnight());
        final Row row = spreadsheet.addRow();
        row.setCell(student.getNumber().toString());
        row.setCell(person.getName());
        row.setCell(degree.getDegreeType().getLocalizedName() + " "
                + degree.getNameFor(registration.getStartExecutionYear()).getContent());
        row.setCell(branch == null ? "" : branch.getName());
        row.setCell("" + registration.getCurricularYear(executionYear));
        row.setCell("" + registration.getAverage(executionYear));
        if (registration.isConcluded()) {
            row.setCell(executionYear.getYear());
        } else {
View Full Code Here

TOP

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

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.