example.cmp.one2one
Interface Teacher
- All Superinterfaces:
- javax.ejb.EJBLocalObject
- public interface Teacher
- extends javax.ejb.EJBLocalObject
Local interface for the Teacher bean.
Method Summary |
Course |
getCourse()
returns the Course associated with the Teacher (CMR field). |
java.lang.String |
getName()
returns the the name of the Teacher (CMP field). |
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
getName
public java.lang.String getName()
- returns the the name of the Teacher (CMP field).
getCourse
public Course getCourse()
- returns the Course associated with the Teacher (CMR field).