Class Student

java.lang.Object
  extended by Student

public class Student
extends Object

A student who is a test subject for the psychology experiment scheduler.

Version:
February 2006

Constructor Summary
Student(String theName, int theID)
          Construct object of class Student.
 
Method Summary
 boolean equals(Student student)
          Determines if two Student objects are equivalent, that is, they have the same student name and ID values.
 int getID()
          Retrieves the ID of the student
 String getName()
          Retrieves the name of the student
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Student

public Student(String theName,
               int theID)
Construct object of class Student.

Parameters:
theName - this student's name
theID - this student's ID numbers
Method Detail

getName

public String getName()
Retrieves the name of the student

Returns:
the name of the student

getID

public int getID()
Retrieves the ID of the student

Returns:
the ID of the student

equals

public boolean equals(Student student)
Determines if two Student objects are equivalent, that is, they have the same student name and ID values.

Parameters:
student - the student to compare this object to
Returns:
true if the names and IDs are the same