01: package team;
02:
03: import java.util.ArrayList;
04: import java.util.Collection;
05:
06: /**
07: * This is the business interface for Team enterprise bean.
08: */
09: public interface TeamLocalBusiness {
10:
11: public abstract String getTeamId();
12:
13: public abstract void setTeamId(String id);
14:
15: public abstract String getName();
16:
17: public abstract void setName(String name);
18:
19: public abstract String getCity();
20:
21: public abstract void setCity(String city);
22:
23: void dropPlayer(PlayerLocal player);
24:
25: Collection getPlayers();
26:
27: void setPlayers(Collection players);
28:
29: void setLeague(LeagueLocal league);
30:
31: LeagueLocal getLeague();
32:
33: void addPlayer(PlayerLocal player);
34:
35: ArrayList getCopyOfPlayers();
36:
37: }
|