Examples of EnrollmentState


Examples of org.fenixedu.academic.domain.curriculum.EnrollmentState

            return compareByGrade(this.getGrade(), enrolmentEvaluation.getGrade());
        }
    }

    private int compareByGrade(final Grade grade, final Grade otherGrade) {
        EnrollmentState gradeEnrolmentState = getEnrollmentStateByGrade();
        EnrollmentState otherGradeEnrolmentState = getEnrollmentStateByGrade();
        if (gradeEnrolmentState == EnrollmentState.APROVED && otherGradeEnrolmentState == EnrollmentState.APROVED) {
            return grade.compareTo(otherGrade);
        }

        return compareByGradeState(gradeEnrolmentState, otherGradeEnrolmentState);
View Full Code Here

Examples of org.fenixedu.academic.domain.curriculum.EnrollmentState

        setEnrolmentEvaluationState(enrolmentEvaluationState);
        setPerson(person);
        setObservation(observation);
        setWhenDateTime(new DateTime());

        EnrollmentState newEnrolmentState = EnrollmentState.APROVED;
        if (!this.isImprovment()) {
            if (MarkType.getRepMarks().contains(getGradeValue())) {
                newEnrolmentState = EnrollmentState.NOT_APROVED;
            } else if (MarkType.getNaMarks().contains(getGradeValue())) {
                newEnrolmentState = EnrollmentState.NOT_EVALUATED;
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.