KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > team > PlayerLocalBusiness


1
2 package team;
3
4 import java.util.Collection JavaDoc;
5 import javax.ejb.FinderException JavaDoc;
6
7
8 /**
9  * This is the business interface for Player enterprise bean.
10  */

11 public interface PlayerLocalBusiness {
12     
13     public abstract String JavaDoc getPlayerId();
14
15     public abstract void setPlayerId(String JavaDoc id);
16
17     public abstract String JavaDoc getName();
18
19     public abstract void setName(String JavaDoc name);
20
21     public abstract String JavaDoc getPosition();
22
23     public abstract void setPosition(String JavaDoc position);
24
25     public abstract Double JavaDoc getSalary();
26
27     public abstract void setSalary(Double JavaDoc salary);
28
29     Collection JavaDoc getTeams();
30
31     void setTeams(Collection JavaDoc teams);
32
33     Collection JavaDoc getLeagues() throws FinderException JavaDoc;
34
35     Collection JavaDoc getSports() throws FinderException JavaDoc;
36     
37 }
38
Popular Tags