1 package dst.ass1.jpa.model;
3 import java.util.Collection;
6 public interface ILesson {
12 String getDescription();
14 void setDescription(String description);
18 void setStart(Date start);
22 void setEnd(Date end);
26 void setCourse(ICourse course);
28 Collection<ILecturer> getLecturers();
30 void setLecturers(Collection<ILecturer> lecturers);
32 void addLecturer(ILecturer lecturer);
34 Collection<ILesson> getRequiredLessons();
36 void setRequiredLessons(Collection<ILesson> requiredLessons);
38 void addRequiredLesson(ILesson lesson);
40 Collection<ILesson> getRequiredByLessons();
42 void setRequiredByLessons(Collection<ILesson> requiredByLessons);
44 void addRequiredByLesson(ILesson lesson);
46 Collection<IMaterial> getMaterials();
48 void setMaterials(Collection<IMaterial> materials);
50 void addMaterial(IMaterial material);