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