1 2 package team; 3 4 import java.util.ArrayList ; 5 import java.util.Collection ; 6 7 8 11 public interface TeamLocalBusiness { 12 13 public abstract String getTeamId(); 14 15 public abstract void setTeamId(String id); 16 17 public abstract String getName(); 18 19 public abstract void setName(String name); 20 21 public abstract String getCity(); 22 23 public abstract void setCity(String city); 24 25 void dropPlayer(PlayerLocal player); 26 27 Collection getPlayers(); 28 29 void setPlayers(Collection players); 30 31 void setLeague(LeagueLocal league); 32 33 LeagueLocal getLeague(); 34 35 void addPlayer(PlayerLocal player); 36 37 ArrayList getCopyOfPlayers(); 38 39 } 40 | Popular Tags |