example.cmp.id
Interface Quidditch

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface Quidditch
extends javax.ejb.EJBLocalObject

Local interface for the Quidditch bean.


Method Summary
 int getPoints()
          Returns the number of points the player has earned this season.
 java.lang.String getPosition()
          Returns the player's position.
 Student getStudent()
          Returns the student.
 void setPoints(int points)
          Sets the number of points the player has earned this season.
 void setPosition(java.lang.String position)
          Sets the player's position.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getStudent

public Student getStudent()
Returns the student. This is the primary key.

getPosition

public java.lang.String getPosition()
Returns the player's position.

setPosition

public void setPosition(java.lang.String position)
Sets the player's position.

getPoints

public int getPoints()
Returns the number of points the player has earned this season.

setPoints

public void setPoints(int points)
Sets the number of points the player has earned this season.