example.cmp.id
Interface QuidditchHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface QuidditchHome
extends javax.ejb.EJBLocalHome

Home interface for the Quidditch statistics. The Quidditch entry uses an identifying relationship to the Student as its primary.


Method Summary
 Quidditch create(Student student, java.lang.String position)
          Create a Quidditch entry for a student.
 Quidditch findByPrimaryKey(Student student)
          Returns the Quidditch entity with the Student as its primary key.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

findByPrimaryKey

public Quidditch findByPrimaryKey(Student student)
                           throws javax.ejb.FinderException
Returns the Quidditch entity with the Student as its primary key.

create

public Quidditch create(Student student,
                        java.lang.String position)
                 throws javax.ejb.CreateException
Create a Quidditch entry for a student.