example.cmp.one2many
Interface Student
- All Superinterfaces:
- javax.ejb.EJBLocalObject
- public interface Student
- extends javax.ejb.EJBLocalObject
Local interface for the Student bean.
Method Summary |
House |
getHouse()
Returns the student's house (CMR field). |
java.lang.String |
getName()
Returns the student's name (CMP field). |
void |
setHouse(House house)
Sets the student's house (CMR field). |
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
getName
public java.lang.String getName()
- Returns the student's name (CMP field).
getHouse
public House getHouse()
- Returns the student's house (CMR field).
setHouse
public void setHouse(House house)
- Sets the student's house (CMR field).
- Parameters:
House
- that will be the student's new House