public class Student extends java.lang.Object implements java.lang.Comparable<Student>, java.io.Serializable
Constructor and Description |
---|
Student() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Student otherStudent) |
java.lang.String |
getClassName()
Get the name of the class the student belongs to.
|
java.lang.String |
getColour()
Get the name of the colour to be used for any menu's representing the
student.
|
java.lang.String |
getName()
Get the name of the student.
|
java.lang.String |
getStudentID()
Get the ID of the student.
|
java.lang.String |
getTable()
Get the clustered network ID of device the student is logged in on.
|
void |
setClassName(java.lang.String className)
Set the name of the class the student belongs to.
|
void |
setColour(java.lang.String colour)
Set the name of the colour to be used for any menu's representing the
student.
|
void |
setName(java.lang.String name)
Set the name of the student.
|
void |
setStudentID(java.lang.String studentID)
Set the ID of the student.
|
void |
setTable(java.lang.String table)
Set the clustered network ID of device the student is logged in on.
|
public int compareTo(Student otherStudent)
compareTo
in interface java.lang.Comparable<Student>
public java.lang.String getClassName()
public java.lang.String getColour()
public java.lang.String getName()
public java.lang.String getStudentID()
public java.lang.String getTable()
public void setClassName(java.lang.String className)
className
- The name of the class the student belongs to.public void setColour(java.lang.String colour)
colour
- The name of the colour to be used for any menu's
representing the student.public void setName(java.lang.String name)
name
- The name of the student.public void setStudentID(java.lang.String studentID)
studentID
- The ID of the student.public void setTable(java.lang.String table)
table
- The clustered network ID of device the student is logged in
on.