example.cmp.relations.one2many
Interface Student

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Student
extends javax.ejb.EJBLocalObject

Local interface for a student instance.


Method Summary
 House getHouse()
          Returns the student's house
 java.lang.String getName()
          Returns the student's name.
 void setHouse(House house)
          Sets the student's house
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getName

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

getHouse

public House getHouse()
Returns the student's house

setHouse

public void setHouse(House house)
Sets the student's house