nathan.middleware
Interface Grade

All Known Implementing Classes:
GradeImpl

public interface Grade

Grade Interface is the interface used to access grade objects in the application.

Author:
Nathan Balon
Advance Operating Systems CIS 578
University of Michigan Dearborn
Remote Method Invocation Middleware Project

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.
 double getGPA()
          Get the grade point average.
 boolean setCourseIGrade(char grade)
          Set the grade for course I.
 boolean setCourseIIGrade(char grade)
          Set the grade for course II.
 boolean setCourseIIIGrade(char grade)
          Set the grade for course III.
 java.lang.String toString()
          Get a String representation of all the grades.
 

Method Detail

getCourseIGrade

char getCourseIGrade()
Get the grade for course I.

Returns:
char The grade of the student for course I.

setCourseIGrade

boolean setCourseIGrade(char grade)
Set the grade for course I.

Parameters:
grade - The grade for course I.
Returns:
boolean Returns true if the grade was set.

getCourseIIGrade

char getCourseIIGrade()
Get the grade for course II.

Returns:
char The grade of the student for course II.

setCourseIIGrade

boolean setCourseIIGrade(char grade)
Set the grade for course II.

Parameters:
grade - The grade for course II.
Returns:
boolean Returns true if the grade was set.

getCourseIIIGrade

char getCourseIIIGrade()
Get the grade for course III.

Returns:
char The grade of the student for course III.

setCourseIIIGrade

boolean setCourseIIIGrade(char grade)
Set the grade for course III.

Parameters:
grade - The grade for course III.
Returns:
boolean Returns true if the grade was set.

getGPA

double getGPA()
Get the grade point average.

Returns:
double the grade point average of the student.

toString

java.lang.String toString()
Get a String representation of all the grades.

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