Proctor
Class Student
java.lang.Object
Proctor.Student
public class Student
- extends java.lang.Object
Constructor Summary |
Student(java.lang.String firstName,
java.lang.String lastName,
int id)
Creates a new student. |
Method Summary |
boolean |
addClass(java.lang.Object cls)
Add's a class to the student's class list. |
boolean |
addTest(java.lang.Object test)
Add's a test to the student's test list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public int id
classList
public java.util.ArrayList<java.lang.Object> classList
testList
public java.util.ArrayList<java.lang.Object> testList
firstName
public java.lang.String firstName
lastName
public java.lang.String lastName
Student
public Student(java.lang.String firstName,
java.lang.String lastName,
int id)
- Creates a new student.
- Parameters:
firstName
- The student's first name.lastName
- The student's last name.id
- The student's id.
addClass
public boolean addClass(java.lang.Object cls)
- Add's a class to the student's class list.
- Parameters:
cls
- The class to be added to the student's class list.
addTest
public boolean addTest(java.lang.Object test)
- Add's a test to the student's test list.
- Parameters:
test
- The test to be added to the student's test list.