KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > example > cmp > ejbql > TeacherBean


1 package example.cmp.ejbql;
2
3 /**
4  * Implementation class for the Teacher bean.
5  */

6 abstract public class TeacherBean extends com.caucho.ejb.AbstractEntityBean {
7
8   /**
9    * returns the <code>Teacher</code>'s name
10    */

11   abstract public String getName();
12
13   /**
14    * Returns the Course that this Teacher is teaching (CMR field).
15    */

16   abstract public Course getCourse();
17
18   //abstract public void setCourse();
19

20 }
21
Popular Tags