| Modifier and Type | Method and Description |
|---|---|
User |
Player.getAdmin()
Returns the player's admin
|
User |
Competition.getAdmin()
Returns the admin of the competition
|
User |
Headquarter.getAdmin()
Returns the administrator of the headquarter.
|
User |
Player.getPlayerUser()
Returns the user if the player has a user profile
|
User |
Team.getUser()
Returns the user who manages this team
|
| Modifier and Type | Method and Description |
|---|---|
void |
Player.internalAddUser(User user)
Sets the attribute user of the player
|
void |
Player.setAdmin(User admin)
Sets the admin of the player
|
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)
Sets the user if the player has a user profile
|
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)
Creates a new instance of
Headquarter. |
Player(String nick,
String completeName,
byte[] image,
String interestsDescription,
List<String> favouriteSports,
List<String> favouriteTeams,
boolean visibility,
User user,
User admin,
Team team)
Creates a new instance
Player |
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,
Player... players)
Creates a new instance
Team |
Copyright © 2017. All rights reserved.