]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/model/ILesson.java
[2.3.1] working plugin finder and executor.
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / model / ILesson.java
1 package dst.ass1.jpa.model;
2
3 import java.util.Collection;
4 import java.util.Date;
5
6 public interface ILesson {
7
8     Long getId();
9
10     void setId(Long id);
11
12     String getDescription();
13
14     void setDescription(String description);
15
16     Date getStart();
17
18     void setStart(Date start);
19
20     Date getEnd();
21
22     void setEnd(Date end);
23
24     ICourse getCourse();
25
26     void setCourse(ICourse course);
27
28     Collection<ILecturer> getLecturers();
29
30     void setLecturers(Collection<ILecturer> lecturers);
31
32     void addLecturer(ILecturer lecturer);
33
34     Collection<ILesson> getRequiredLessons();
35
36     void setRequiredLessons(Collection<ILesson> requiredLessons);
37
38     void addRequiredLesson(ILesson lesson);
39
40     Collection<ILesson> getRequiredByLessons();
41
42     void setRequiredByLessons(Collection<ILesson> requiredByLessons);
43
44     void addRequiredByLesson(ILesson lesson);
45
46     Collection<IMaterial> getMaterials();
47
48     void setMaterials(Collection<IMaterial> materials);
49
50     void addMaterial(IMaterial material);
51
52 }