1 package example.cmp.map; 2 3 /** 4 * Interface for the Grade bean. 5 * 6 * <p>The Grade has a compound key with two identifying fields: the 7 * Student and the Course. 8 */ 9 public interface Grade extends javax.ejb.EJBLocalObject { 10 /** 11 * Returns the Grade's student. This is part of the primary key. 12 */ 13 public Student getStudent(); 14 /** 15 * Returns the Grade's course. This is part of the primary key. 16 */ 17 public Course getCourse(); 18 /** 19 * Returns the grade. 20 */ 21 public String getGrade(); 22 } 23 24