1 | public class Course {↵ | | 1 | public class ↵
|
2 | private String courseCode;↵ | | |
|
3 | private String description;↵ | | |
|
4 | public String getCourseCode↵ | | 2 | Employee implements Serializable {↵
|
| | | 3 | private Integer id;↵
|
| | | 4 | private Collection employers;↵
|
|
|
5 | () {↵ | | 5 | public Integer getId() {↵
|
6 | return courseCode;↵ | | 6 | return id;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void setCourseCode(String courseCode) {↵ | | 8 | public void set↵
|
9 | this.courseCode = courseCode↵ | | 9 | Id(Integer integer) {↵
|
10 | ;↵ | | 10 | id = integer;↵
|
11 | }↵ | | 11 | }↵
|
12 | ↵ | | 12 | ↵
|
| | | 13 | ↵
|
13 | public String getDescription() {↵ | | 14 | public Collection getEmployers() {↵
|
14 | return description;↵ | | 15 | return employers;↵
|
15 | }↵ | | 16 | }↵
|
16 | ↵ | | 17 | ↵
|
17 | public void setDescription(String description) {↵ | | 18 | public void set↵
|
18 | this.description = description | | 19 | Employers(Collection employers) {↵
|
| | | 20 | this.employers = employers
|