nathan.middleware
Class StudentListImplStub

java.lang.Object
  extended by nathan.middleware.StudentListImplStub
All Implemented Interfaces:
java.io.Serializable, StudentList

public class StudentListImplStub
extends java.lang.Object
implements StudentList, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
StudentListImplStub(RemoteObjectReference ror)
           
 
Method Summary
 boolean addStudent(Student param0)
          adds a student to the student list
 boolean delStudent(java.lang.String param0)
          deletes a student from the list
 Student find(java.lang.String param0)
          find a specific student in the list
 Grade getGrade(java.lang.String param0)
          get the grade of a student
 java.util.Vector getReplicatedObject()
          Get a copy of the student list
 java.util.Vector listAll()
          list all students in the student list
 boolean setGrade(java.lang.String param0, Grade param1)
          setGrade set the grade for a student
 void setReplicatedObject(java.util.Vector param0)
          Set the student list
 StudentList StudentListImplFactory()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StudentListImplStub

public StudentListImplStub(RemoteObjectReference ror)
Method Detail

StudentListImplFactory

public StudentList StudentListImplFactory()

addStudent

public boolean addStudent(Student param0)
Description copied from interface: StudentList
adds a student to the student list

Specified by:
addStudent in interface StudentList
Parameters:
param0 - the student to be added
Returns:
the status of the operation

delStudent

public boolean delStudent(java.lang.String param0)
Description copied from interface: StudentList
deletes a student from the list

Specified by:
delStudent in interface StudentList
Parameters:
param0 - the student number of the student to be deleted
Returns:
boolean the status of the operation

listAll

public java.util.Vector listAll()
Description copied from interface: StudentList
list all students in the student list

Specified by:
listAll in interface StudentList
Returns:
Vector of students

setGrade

public boolean setGrade(java.lang.String param0,
                        Grade param1)
Description copied from interface: StudentList
setGrade set the grade for a student

Specified by:
setGrade in interface StudentList
Parameters:
param0 - the student number
param1 - the grade to be set

getGrade

public Grade getGrade(java.lang.String param0)
Description copied from interface: StudentList
get the grade of a student

Specified by:
getGrade in interface StudentList
Parameters:
param0 - the student number
Returns:
Grade

getReplicatedObject

public java.util.Vector getReplicatedObject()
Description copied from interface: StudentList
Get a copy of the student list

Specified by:
getReplicatedObject in interface StudentList
Returns:
Vector containing all of the students.

setReplicatedObject

public void setReplicatedObject(java.util.Vector param0)
Description copied from interface: StudentList
Set the student list

Specified by:
setReplicatedObject in interface StudentList
Parameters:
param0 - A Vector containing all students.

find

public Student find(java.lang.String param0)
Description copied from interface: StudentList
find a specific student in the list

Specified by:
find in interface StudentList
Parameters:
param0 - the student number of the student to be returned
Returns:
Student the student