example.cmp.ejbql
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 that this Teacher is teaching (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
 

Method Detail

getName

public java.lang.String getName()
returns the the name of the Teacher (CMP field).

getCourse

public Course getCourse()
Returns the Course that this Teacher is teaching (CMR field).