example.cmp.ejbql
Interface Student

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Student
extends javax.ejb.EJBLocalObject

Local interface for the Student bean.


Method Summary
 java.util.Collection getCourseList()
          Returns a Collection of all Courses that the student is currently enrolled in (CMR field).
 java.lang.String getGender()
          Returns the gender of the student (CMP field).
 House getHouse()
          returns the House that this Student belongs to (CMR field).
 java.lang.String getName()
          Returns the student's name (CMP field).
 void setGender(java.lang.String gender)
          Sets the gender of the student (CMP field).
 void setHouse(House house)
          sets the House that this Student is to belong to (CMR field).
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getName

public java.lang.String getName()
Returns the student's name (CMP field).

getGender

public java.lang.String getGender()
Returns the gender of the student (CMP field).

setGender

public void setGender(java.lang.String gender)
Sets the gender of the student (CMP field).

getCourseList

public java.util.Collection getCourseList()
Returns a Collection of all Courses that the student is currently enrolled in (CMR field).

getHouse

public House getHouse()
returns the House that this Student belongs to (CMR field).

setHouse

public void setHouse(House house)
sets the House that this Student is to belong to (CMR field).
Parameters:
house - new House that this Student will belong to.