| Modifier and Type | Method and Description |
|---|---|
Player |
User.getPlayerUser() |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Player> |
User.getManagedPlayers()
Returns the players managed by the user
|
| Modifier and Type | Method and Description |
|---|---|
void |
User.addPlayer(Player player)
Creates the relation between the user and the player.
|
void |
User.internalAddPlayer(Player player)
Sets the atribute player of the user
|
void |
User.internalAddPlayerList(Player player)
Adds a player directly to the player list of this user if the player does not
already managed by this user.
|
void |
User.internalRemovePlayerList(Player player)
Removes a player directly from the players list of this user.
|
boolean |
User.managesPlayers(Player player)
Checks if a player is managed by the user.
|
void |
User.removePlayer(Player player)
Deletes the relation between the user and the player.
|
void |
User.setPlayerUser(Player userPlayer) |
| Modifier and Type | Method and Description |
|---|---|
void |
User.setManagedPlayers(ArrayList<Player> managedPlayers)
Sets the players managed by the user
|
| Constructor and Description |
|---|
User(String email,
String name,
String surname,
GregorianCalendar birthdate,
IdentificationType identificationType,
String numIdentificationType,
String residence,
String location,
String province,
String country,
String phone,
HashMap<String,String> socialNetworks,
Player player,
ArrayList<Player> managedPlayers,
ArrayList<Competition> managedCompetitions,
Team... teams)
Creates a new instance
User |
| Constructor and Description |
|---|
User(String email,
String name,
String surname,
GregorianCalendar birthdate,
IdentificationType identificationType,
String numIdentificationType,
String residence,
String location,
String province,
String country,
String phone,
HashMap<String,String> socialNetworks,
Player player,
ArrayList<Player> managedPlayers,
ArrayList<Competition> managedCompetitions,
Team... teams)
Creates a new instance
User |
Copyright © 2017. All rights reserved.