1 | public class Course {↵ | | 1 | public class Person {
↵
|
2 | private String courseCode;↵ | | 2 | private ↵
|
3 | private String description;↵ | | 3 | Long id;↵
|
| | | 4 | private Identity identity;↵
|
| | | 5 |
↵
|
4 | public String getCourseCode() {↵ | | 6 | public Long getId() {
↵
|
5 | return courseCode;↵ | | 7 | return id;
↵
|
6 | }↵ | | 8 | }
↵
|
7 | public void setCourseCode(String courseCode) {↵ | | 9 | public void setId(Long id) {
↵
|
8 | this.courseCode = courseCode;↵ | | 10 | this.id = id;
↵
|
9 | }↵ | | 11 | }
↵
|
10 | public String getDescription() {↵ | | 12 | public Identity getIdentity() {
↵
|
11 | return description;↵ | | 13 | return identity;
↵
|
12 | }↵ | | 14 | }
↵
|
13 | public void setDescription(String description) {↵ | | 15 | public void setIdentity(Identity identity) {
↵
|
14 | this.description = description | | 16 | this.identity = identity
|