1 | public class Course {↵ | | 1 | public class Owner {↵
|
2 | private String courseCode;↵ | | 2 | private Long id;↵
|
3 | private String description;↵ | | 3 | private String name;↵
|
| | | 4 | /**↵
|
| | | 5 | * @return Returns the id.↵
|
| | | 6 | */↵
|
4 | public String getCourseCode() {↵ | | 7 | public Long getId() {↵
|
5 | return courseCode;↵ | | 8 | return ↵
|
6 | }↵ | | |
|
7 | public void setCourseCode(String courseCode) {↵ | | |
|
8 | this.courseCode = courseCode;↵ | | |
|
9 | }↵ | | 9 | id;↵
|
| | | 10 | }↵
|
| | | 11 | /**↵
|
| | | 12 | * @param id The id to set.↵
|
| | | 13 | */↵
|
| | | 14 | public void setId(Long id) {↵
|
| | | 15 | this.id = id;↵
|
| | | 16 | }↵
|
| | | 17 | /**↵
|
| | | 18 | * @return Returns the name.↵
|
| | | 19 | */↵
|
10 | public String getDescription() {↵ | | 20 | public String getName() {↵
|
11 | return description;↵ | | 21 | return ↵
|
12 | }↵ | | 22 | name;↵
|
| | | 23 | }↵
|
| | | 24 | /**↵
|
| | | 25 | * @param name The name to set.↵
|
| | | 26 | */↵
|
13 | public void setDescription(String description) {↵ | | 27 | public void set↵
|
14 | this.description = description↵ | | 28 | Name(String name) {↵
|
15 | ;↵ | | 29 | this.name = name;↵
|
16 | | | 30 |
|