Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.ShiftGroupingProperties


    private Integer capacity;

    public InfoShift(final Shift shift) {
        this.shift = shift;
        ShiftGroupingProperties groupingProperties = getShift().getShiftGroupingProperties();
        if (groupingProperties != null) {
            this.capacity = groupingProperties.getCapacity();
        } else {
            this.capacity = 0;
        }
    }
View Full Code Here


        Collections.sort(infoSiteShift.getInfoShift().getInfoLessons());
        final List<StudentGroup> studentGroups = grouping.readAllStudentGroupsBy(shift);
        Integer capacity;
        if (grouping.getDifferentiatedCapacity()) {
            if (shift.getShiftGroupingProperties() == null) {
                new ShiftGroupingProperties(shift, grouping, 0);
            }
            capacity = shift.getShiftGroupingProperties().getCapacity();
        } else {
            capacity = grouping.getGroupMaximumNumber();
        }
View Full Code Here

TOP

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

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.