| Modifier and Type | Method and Description |
|---|---|
User |
Competition.getAdmin()
Returns the admin of the competition
|
User |
Headquarter.getAdmin()
Returns the administrator of the headquarter.
|
User |
Player.getPlayerUser() |
User |
Team.getUser()
Returns the user who manages this team
|
| Modifier and Type | Method and Description |
|---|---|
void |
Competition.setAdmin(User admin)
Sets the admin of the competition
|
void |
Headquarter.setAdmin(User admin)
Sets the administrator of this headquarter.
|
void |
Player.setPlayerUser(User playerUser) |
void |
Team.setUser(User user)
Sets the user of this team
|
| Constructor and Description |
|---|
Competition(String name,
String abbreviation,
String description,
SportType sport,
CompetitionType type,
String contactPerson,
String email,
String web,
String telephone,
Boolean openToInscription,
Boolean publicVisibility,
Integer minTeams,
Integer maxTeams,
User admin)
Creates a new instance
Competition |
Headquarter(String name,
String description,
String address,
String locality,
String province,
User admin)
Creates a new instance of
Headquarter. |
Headquarter(String name,
String description,
String address,
String locality,
String province,
User admin,
Team... teams) |
Team(String nameTeam,
String nick,
SportType sportType,
String contactPerson,
User user)
Creates a new instance
Team |
Team(String nameTeam,
String nickTeam,
String descriptionTeam,
SportType sportType,
Headquarter headquarter,
String contactPerson,
String email,
String web,
String phone,
String socialMedia,
boolean openToInscription,
int minPlayers,
int maxPlayers,
boolean isVisible,
User user)
Creates a new instance
Team |
Copyright © 2017. All rights reserved.