list.add(scheduleAnnotation);
}
if (list.size() == 0) continue;
MethodSchedule methodSchedule = new MethodSchedule(ejbName, method);
for (javax.ejb.Schedule schedule : list) {
Schedule s = new Schedule();
s.setSecond(schedule.second());
s.setMinute(schedule.minute());
s.setHour(schedule.hour());
s.setDayOfWeek(schedule.dayOfWeek());
s.setDayOfMonth(schedule.dayOfMonth());
s.setMonth(schedule.month());
s.setYear(schedule.year());
s.setPersistent(schedule.persistent());
s.setInfo(schedule.info());
methodSchedule.getSchedule().add(s);
}
assemblyDescriptor.getMethodSchedule().add(methodSchedule);
}
/*