example.cmp.relations.many2many
Interface StudentHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface StudentHome
extends javax.ejb.EJBLocalHome

Local interface for the student home.


Method Summary
 java.util.Collection findByCourse(java.lang.String name)
          finds all courses for a student
 Student findByPrimaryKey(java.lang.String name)
          Returns the named student.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

findByPrimaryKey

public Student findByPrimaryKey(java.lang.String name)
                         throws javax.ejb.FinderException
Returns the named student.

findByCourse

public java.util.Collection findByCourse(java.lang.String name)
                                  throws javax.ejb.FinderException
finds all courses for a student