1 | public class Course {↵ | | 1 | public class OtherAssigned {
↵
|
2 | private String courseCode;↵ | | 2 | private ↵
|
3 | private String description;↵ | | |
|
4 | public String getCourseCode↵ | | 3 | Long id;↵
|
| | | 4 | private ParentAssigned owner;↵
|
|
5 | () {↵ | | 5 | public OtherAssigned() {
↵
|
6 | return courseCode;↵ | | 6 | ↵
|
7 | }↵ | | |
|
8 | public void setCourseCode(String courseCode↵ | | 7 | }↵
|
|
9 | ) {↵ | | 8 | public OtherAssigned(Long id) {
↵
|
10 | this.courseCode = courseCode;↵ | | 9 | this.↵
|
11 | }↵ | | |
|
12 | public String getDescription↵ | | 10 | id = id;↵
|
| | | 11 | }↵
|
|
| | | 12 | public Long getId() {↵
|
| | | 13 | return id;↵
|
| | | 14 | }↵
|
|
13 | () {↵ | | 15 | public ParentAssigned getOwner() {
↵
|
14 | return description;↵ | | 16 | return ↵
|
15 | }↵ | | 17 | owner;↵
|
| | | 18 | }↵
|
| | | 19 |
↵
|
16 | public void setDescription(String description) {↵ | | 20 | public void setOwner(ParentAssigned owner) {
↵
|
17 | this.description = description;↵ | | 21 | this.owner = owner;
↵
|
18 | | | 22 |
|