1 | public class Course {↵ | | 1 | public class ↵
|
2 | private String courseCode↵ | | 2 | EntityWithCrazyCompositeKey {↵
|
3 | ;↵ | | 3 | private CrazyCompositeKey id;↵
|
4 | private String description;↵ | | 4 | private String ↵
|
5 | public String getCourseCode↵ | | 5 | name;↵
|
|
6 | () {↵ | | 6 | public CrazyCompositeKey getId() {↵
|
7 | return courseCode;↵ | | 7 | return id;↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void setCourseCode(String courseCode) {↵ | | 9 | public void set↵
|
10 | this.courseCode = courseCode↵ | | 10 | Id(CrazyCompositeKey id) {↵
|
11 | ;↵ | | 11 | this.id = id;↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public String getDescription() {↵ | | 13 | public String getName() {↵
|
14 | return description;↵ | | 14 | return name;↵
|
15 | }↵ | | 15 | }↵
|
|
16 | public void setDescription(String description) {↵ | | 16 | public void set↵
|
17 | this.description = description | | 17 | Name(String name) {↵
|
| | | 18 | this.name = name
|