01: package team;
02:
03: import java.util.Collection;
04: import javax.ejb.FinderException;
05:
06: /**
07: * This is the business interface for Player enterprise bean.
08: */
09: public interface PlayerLocalBusiness {
10:
11: public abstract String getPlayerId();
12:
13: public abstract void setPlayerId(String id);
14:
15: public abstract String getName();
16:
17: public abstract void setName(String name);
18:
19: public abstract String getPosition();
20:
21: public abstract void setPosition(String position);
22:
23: public abstract Double getSalary();
24:
25: public abstract void setSalary(Double salary);
26:
27: Collection getTeams();
28:
29: void setTeams(Collection teams);
30:
31: Collection getLeagues() throws FinderException;
32:
33: Collection getSports() throws FinderException;
34:
35: }
|