|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.StudentListImplStub
public class StudentListImplStub
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 |
---|
public StudentListImplStub(RemoteObjectReference ror)
Method Detail |
---|
public StudentList StudentListImplFactory()
public boolean addStudent(Student param0)
StudentList
addStudent
in interface StudentList
param0
- the student to be added
public boolean delStudent(java.lang.String param0)
StudentList
delStudent
in interface StudentList
param0
- the student number of the student to be deleted
public java.util.Vector listAll()
StudentList
listAll
in interface StudentList
public boolean setGrade(java.lang.String param0, Grade param1)
StudentList
setGrade
in interface StudentList
param0
- the student numberparam1
- the grade to be setpublic Grade getGrade(java.lang.String param0)
StudentList
getGrade
in interface StudentList
param0
- the student number
public java.util.Vector getReplicatedObject()
StudentList
getReplicatedObject
in interface StudentList
public void setReplicatedObject(java.util.Vector param0)
StudentList
setReplicatedObject
in interface StudentList
param0
- A Vector containing all students.public Student find(java.lang.String param0)
StudentList
find
in interface StudentList
param0
- the student number of the student to be returned
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |