example.cmp.relations.many2many
Interface CourseHome
- All Superinterfaces:
- javax.ejb.EJBLocalHome
- public interface CourseHome
- extends javax.ejb.EJBLocalHome
Remote interface for the student home.
Method Summary |
Course |
findByPrimaryKey(java.lang.String name)
Returns the named student. |
java.util.Collection |
findByStudent(java.lang.String name)
Returns all Students enrolled in this Course. |
Methods inherited from interface javax.ejb.EJBLocalHome |
remove |
findByPrimaryKey
public Course findByPrimaryKey(java.lang.String name)
throws javax.ejb.FinderException
- Returns the named student. Resin-CMP will implement
this method.
findByStudent
public java.util.Collection findByStudent(java.lang.String name)
throws javax.ejb.FinderException
- Returns all Students enrolled in this Course. Resin-CMP will implement
this method.
- Parameters:
name
- of the Course in question