Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.Shift


        Collection<Shift> shifts = schoolClass.getAssociatedShiftsSet();

        return CollectionUtils.collect(shifts, new Transformer() {
            @Override
            public Object transform(Object arg0) {
                Shift shift = (Shift) arg0;
                InfoShift infoShift = InfoShift.newInfoFromDomain(shift);
                return infoShift;
            }
        });
    }
View Full Code Here


            final ExecutionCourse executionCourse, final ShiftType shiftType) {

        return CollectionUtils.exists(enroledShifts, new Predicate() {
            @Override
            final public boolean evaluate(Object object) {
                Shift enroledShift = (Shift) object;
                return enroledShift.getExecutionCourse() == executionCourse && enroledShift.containsType(shiftType);
            }
        });
    }
View Full Code Here

TOP

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

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.