KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > team > TeamLocalBusiness


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

11 public interface TeamLocalBusiness {
12     
13     public abstract String JavaDoc getTeamId();
14
15     public abstract void setTeamId(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 getCity();
22
23     public abstract void setCity(String JavaDoc city);
24
25     void dropPlayer(PlayerLocal player);
26
27     Collection JavaDoc getPlayers();
28
29     void setPlayers(Collection JavaDoc players);
30
31     void setLeague(LeagueLocal league);
32
33     LeagueLocal getLeague();
34
35     void addPlayer(PlayerLocal player);
36
37     ArrayList JavaDoc getCopyOfPlayers();
38     
39 }
40
Popular Tags