example.cmp.one2many
Interface StudentHome
- All Superinterfaces:
- javax.ejb.EJBLocalHome
- public interface StudentHome
- extends javax.ejb.EJBLocalHome
Home interface for the Student bean.
Method Summary |
java.util.Collection |
findAll()
returns a Collection of all students managed by the container. |
Student |
findByPrimaryKey(java.lang.String name)
returns the Student entity that has name
as its primary key. |
Methods inherited from interface javax.ejb.EJBLocalHome |
remove |
findByPrimaryKey
public Student findByPrimaryKey(java.lang.String name)
throws javax.ejb.FinderException
- returns the
Student
entity that has name
as its primary key.
findAll
public java.util.Collection findAll()
throws javax.ejb.FinderException
- returns a
Collection
of all students managed by the container.