tutorialOrientation.add(infoShift);
}
}
infoExecutionCourseOccupancy.setInfoShifts(null);
InfoShiftGroupStatistics infoShiftGroupStatistics = new InfoShiftGroupStatistics();
if (!theoreticalShifts.isEmpty()) {
infoShiftGroupStatistics.setShiftsInGroup(theoreticalShifts);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!theoPraticalShifts.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(theoPraticalShifts);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!labShifts.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(labShifts);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!praticalShifts.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(praticalShifts);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!reserveShifts.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(reserveShifts);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!doubtsShifts.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(doubtsShifts);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!fieldWork.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(fieldWork);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!problems.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(problems);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!seminary.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(seminary);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!trainingPeriod.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(trainingPeriod);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
if (!tutorialOrientation.isEmpty()) {
infoShiftGroupStatistics = new InfoShiftGroupStatistics();
infoShiftGroupStatistics.setShiftsInGroup(tutorialOrientation);
infoExecutionCourseOccupancy.getShiftsInGroups().add(infoShiftGroupStatistics);
}
}