Methods Summary |
---|
public boolean | equals(java.lang.Object other)
if ( !(other instanceof Enrolment) ) return false;
Enrolment that = (Enrolment) other;
return studentNumber==that.studentNumber &&
courseCode.equals(that.courseCode);
|
public Course | getCourse()
return course;
|
public java.lang.String | getCourseCode()
return courseCode;
|
public short | getSemester()
return semester;
|
public Student | getStudent()
return student;
|
public long | getStudentNumber()
return studentNumber;
|
public short | getYear()
return year;
|
public int | hashCode()
return courseCode.hashCode();
|
public void | setCourse(Course course)
this.course = course;
|
public void | setCourseCode(java.lang.String courseId)
this.courseCode = courseId;
|
public void | setSemester(short semester)
this.semester = semester;
|
public void | setStudent(Student student)
this.student = student;
|
public void | setStudentNumber(long studentId)
this.studentNumber = studentId;
|
public void | setYear(short year)
this.year = year;
|