Package org.fenixedu.academic.domain.student

Examples of org.fenixedu.academic.domain.student.SeniorStatute


        @Override
        public Object execute() {
            switch (getStatuteType()) {

            case SENIOR:
                return new SeniorStatute(getStudent(), getRegistration(), getStatuteType(), getBeginExecutionPeriod(),
                        getEndExecutionPeriod());

            default:
                return new StudentStatute(getStudent(), getStatuteType(), getBeginExecutionPeriod(), getEndExecutionPeriod());
View Full Code Here


            if (statute instanceof SeniorStatute && statute.isValidInExecutionPeriod(getExecutionSemester())) {
                statutesWriter.add(statute);
            }
        }
        if (statutesWriter.size() == 1) {
            SeniorStatute senior = (SeniorStatute) statutesWriter.iterator().next();
            return senior.getRegistration();
        } else {
            throw new DomainException(
                    "StudentCurricularPlanEnrolmentInSpecialSeasonEvaluationManager.student.has.more.than.one.senior.statute.for.same.period");
        }
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.student.SeniorStatute

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.