| Modifier and Type | Method and Description |
|---|---|
Headquarter |
Team.getHeadquarter()
Returns the headquarters of this team.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Headquarter> |
Competition.getHeadquarters()
Returns the headquarters that belongs to this competitions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Competition.addHeadquarters(Headquarter headquarters)
Adds a headquarters from this competition
|
void |
Competition.removeHeadquarters(Headquarter headquarters)
Removes a headquarters from this competition and removes the competition from
the headquarters
|
void |
Team.setHeadquarter(Headquarter headquarter)
Sets the headquarters of this team.
|
| Constructor and Description |
|---|
Team(String nameTeam,
String nickTeam,
String descriptionTeam,
SportType sportType,
Headquarter headquarter,
String contactPerson,
String email,
String web,
String phone,
String facebook,
String twitter,
String instagram,
boolean openToInscription,
int minPlayers,
int maxPlayers,
boolean isVisible,
User user,
Player... players)
Creates a new instance
Team |
| Constructor and Description |
|---|
Competition(String name,
String abbreviation,
String description,
SportType sport,
CompetitionType type,
String contactPerson,
String email,
String web,
String telephone,
String facebook,
String twitter,
String instagram,
Boolean openToInscription,
Boolean publicVisibility,
Integer minTeams,
Integer maxTeams,
User admin,
List<Team> teams,
List<Headquarter> headquarters,
List<Team> competitors)
Creates a new instance
Competition |
Copyright © 2017. All rights reserved.