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.
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
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.