example.cmp.ejbql
Class TeacherBean
example.cmp.ejbql.TeacherBean
- public abstract class TeacherBean
Implementation class for the Teacher bean.
Method Summary |
abstract Course |
getCourse()
Returns the Course that this Teacher is teaching (CMR field). |
abstract java.lang.String |
getName()
returns the Teacher 's name |
TeacherBean
public TeacherBean()
getName
public abstract java.lang.String getName()
- returns the
Teacher
's name
getCourse
public abstract Course getCourse()
- Returns the Course that this Teacher is teaching (CMR field).