nathan.middleware
Class GradeImplStub

java.lang.Object
  extended by nathan.middleware.GradeImplStub
All Implemented Interfaces:
java.io.Serializable, Grade, Marker

public class GradeImplStub
extends java.lang.Object
implements Marker, java.io.Serializable, Grade

See Also:
Serialized Form

Constructor Summary
GradeImplStub(RemoteObjectReference ror)
           
 
Method Summary
 char getCourseIGrade()
          Get the grade for course I.
 char getCourseIIGrade()
          Get the grade for course II.
 char getCourseIIIGrade()
          Get the grade for course III.
 java.lang.String getGlobalState()
          Get the globabl state of the system.
 double getGPA()
          Get the grade point average.
 Grade GradeImplFactory()
           
 boolean setCourseIGrade(char param0)
          Set the grade for course I.
 boolean setCourseIIGrade(char param0)
          Set the grade for course II.
 boolean setCourseIIIGrade(char param0)
          Set the grade for course III.
 java.lang.String toString()
          Get a String representation of all the grades.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GradeImplStub

public GradeImplStub(RemoteObjectReference ror)
Method Detail

GradeImplFactory

public Grade GradeImplFactory()

getGlobalState

public java.lang.String getGlobalState()
Description copied from interface: Marker
Get the globabl state of the system.

Specified by:
getGlobalState in interface Marker
Returns:
A string reprentation of the global state.

setCourseIGrade

public boolean setCourseIGrade(char param0)
Description copied from interface: Grade
Set the grade for course I.

Specified by:
setCourseIGrade in interface Grade
Parameters:
param0 - The grade for course I.
Returns:
boolean Returns true if the grade was set.

getCourseIGrade

public char getCourseIGrade()
Description copied from interface: Grade
Get the grade for course I.

Specified by:
getCourseIGrade in interface Grade
Returns:
char The grade of the student for course I.

setCourseIIGrade

public boolean setCourseIIGrade(char param0)
Description copied from interface: Grade
Set the grade for course II.

Specified by:
setCourseIIGrade in interface Grade
Parameters:
param0 - The grade for course II.
Returns:
boolean Returns true if the grade was set.

getCourseIIGrade

public char getCourseIIGrade()
Description copied from interface: Grade
Get the grade for course II.

Specified by:
getCourseIIGrade in interface Grade
Returns:
char The grade of the student for course II.

setCourseIIIGrade

public boolean setCourseIIIGrade(char param0)
Description copied from interface: Grade
Set the grade for course III.

Specified by:
setCourseIIIGrade in interface Grade
Parameters:
param0 - The grade for course III.
Returns:
boolean Returns true if the grade was set.

getCourseIIIGrade

public char getCourseIIIGrade()
Description copied from interface: Grade
Get the grade for course III.

Specified by:
getCourseIIIGrade in interface Grade
Returns:
char The grade of the student for course III.

getGPA

public double getGPA()
Description copied from interface: Grade
Get the grade point average.

Specified by:
getGPA in interface Grade
Returns:
double the grade point average of the student.

toString

public java.lang.String toString()
Description copied from interface: Grade
Get a String representation of all the grades.

Specified by:
toString in interface Grade
Overrides:
toString in class java.lang.Object
Returns:
String A String listing all of the grades.