01: package team;
02:
03: import java.util.Collection;
04:
05: /**
06: * This is the business interface for League enterprise bean.
07: */
08: public interface LeagueLocalBusiness {
09: public abstract String getLeagueId();
10:
11: public abstract void setLeagueId(String id);
12:
13: public abstract String getName();
14:
15: public abstract void setName(String name);
16:
17: public abstract String getSport();
18:
19: public abstract void setSport(String sport);
20:
21: Collection getTeams();
22:
23: void setTeams(Collection teams);
24:
25: void addTeam(TeamLocal team);
26:
27: void dropTeam(TeamLocal team);
28:
29: }
|