| Modifier and Type | Method and Description |
|---|---|
ArrayList<Team> |
Competition.getTeams()
Returns the teams of the competition
|
Collection<Team> |
Headquarter.getTeams()
Returns the teams that belongs to this headquarters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Competition.addTeam(Team team)
Adds a team to the Competition
|
void |
Headquarter.addTeam(Team team)
Adds a team to this headquarters
|
boolean |
Headquarter.ownsTeam(Team team)
Checks if a team belongs to this headquarters
|
void |
Competition.removeTeam(Team team)
Removes a team to the Competition
|
void |
Headquarter.removeTeam(Team team)
Removes a team from this headquarters
|
| Modifier and Type | Method and Description |
|---|---|
void |
Competition.setTeams(ArrayList<Team> teams)
Sets the teams of the competition
|
| Constructor and Description |
|---|
Headquarter(String name,
String description,
String address,
String locality,
String province,
User admin,
Team... teams) |
Copyright © 2017. All rights reserved.