Proctor
Class Student

java.lang.Object
  extended by Proctor.Student

public class Student
extends java.lang.Object


Field Summary
 java.util.ArrayList<java.lang.Object> classList
           
 java.lang.String firstName
           
 int id
           
 java.lang.String lastName
           
 java.util.ArrayList<java.lang.Object> testList
           
 
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
 

Field Detail

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
Constructor Detail

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.
Method Detail

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.