example.cmp.ejbql
Interface House
- All Superinterfaces:
- javax.ejb.EJBLocalObject
- public interface House
- extends javax.ejb.EJBLocalObject
Local interface for the House bean.
Method Summary |
java.lang.String |
getName()
returns the name of the house (CMP field). |
java.util.Collection |
getStudentList()
returns a Collection of all Students living in this House
(CMR field). |
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
getName
public java.lang.String getName()
- returns the name of the house (CMP field).
getStudentList
public java.util.Collection getStudentList()
- returns a
Collection
of all Students living in this House
(CMR field).