example.cmp.map
Interface Grade

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Grade
extends javax.ejb.EJBLocalObject

Interface for the Grade bean.

The Grade has a compound key with two identifying fields: the Student and the Course.


Method Summary
 Course getCourse()
          Returns the Grade's course.
 java.lang.String getGrade()
          Returns the grade.
 Student getStudent()
          Returns the Grade's student.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getStudent

public Student getStudent()
Returns the Grade's student. This is part of the primary key.

getCourse

public Course getCourse()
Returns the Grade's course. This is part of the primary key.

getGrade

public java.lang.String getGrade()
Returns the grade.