1 | public class Course {↵ | | 1 | public static final class Component {↵
|
2 | private String courseCode;↵ | | 2 | private Calendar cal;↵
|
3 | private String description;↵ | | 3 | private ↵
|
4 | public String getCourseCode↵ | | 4 | Float floaty;↵
|
| | | 5 | /**↵
|
| | | 6 | * Returns the cal.↵
|
| | | 7 | * @return Calendar↵
|
| | | 8 | */↵
|
5 | () {↵ | | 9 | public Calendar getCal() {↵
|
6 | return courseCode;↵ | | 10 | return c↵
|
7 | }↵ | | |
|
8 | public void setCourseCode(String courseCode↵ | | 11 | al;↵
|
| | | 12 | }↵
|
| | | 13 | ↵
|
| | | 14 | /**↵
|
| | | 15 | * Sets the cal.↵
|
| | | 16 | * @param cal The cal to set↵
|
| | | 17 | */↵
|
9 | ) {↵ | | 18 | public void setCal(Calendar cal) {↵
|
10 | this.courseCode = courseCode;↵ | | 19 | this.c↵
|
11 | }↵ | | |
|
12 | public String getDescription↵ | | 20 | al = cal;↵
|
| | | 21 | }↵
|
| | | 22 | ↵
|
| | | 23 | /**↵
|
| | | 24 | * Returns the floaty.↵
|
| | | 25 | * @return Float↵
|
| | | 26 | */↵
|
13 | () {↵ | | 27 | public Float getFloaty() {↵
|
14 | return description;↵ | | 28 | return ↵
|
15 | }↵ | | |
|
16 | public void setDescription(String description↵ | | 29 | floaty;↵
|
| | | 30 | }↵
|
| | | 31 | ↵
|
| | | 32 | /**↵
|
| | | 33 | * Sets the floaty.↵
|
| | | 34 | * @param floaty The floaty to set↵
|
| | | 35 | */↵
|
17 | ) {↵ | | 36 | public void setFloaty(Float floaty) {↵
|
18 | this.description = description;↵ | | 37 | this.floaty = floaty;↵
|
19 | | | 38 |
|