| Modifier and Type | Method and Description |
|---|---|
Team |
InvitationBetweenTeamCompetition.getTeam()
Returns the team
|
| Modifier and Type | Method and Description |
|---|---|
List<Team> |
Player.getTeam()
Returns the team of this user
|
Collection<Team> |
User.getTeams()
Returns the user that belongs to this user.
|
List<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.addInvitation(Team team)
Adds an invitation to a team
|
void |
User.addTeam(Team team)
Adds a team to this user
|
void |
Player.addTeam(Team team)
Adds a team to this player
|
void |
Headquarter.addTeam(Team team)
Adds a team to this headquarters
|
boolean |
Player.belongsToTeam(Team team)
Check if this player belongs to a team
|
boolean |
User.hasOwner(Team team)
Checks if the team already has an owner
|
void |
User.internalAddTeam(Team team)
Adds a team directly to the teams collection of this user if the team does
not already belongs to this user
|
void |
User.internalRemoveTeam(Team team)
Removes a team directly to this teams collection of this user if the team
does not already belongs to this headquarters
|
boolean |
User.ownsTeam(Team team)
Checks if a team belongs to this user
|
boolean |
Headquarter.ownsTeam(Team team)
Checks if a team belongs to this headquarters
|
void |
Competition.removeInvitation(Team team)
Removes an invitation to a team
|
void |
User.removeTeam(Team team)
Removes a team from this user
|
void |
Player.removeTeam(Team team)
Removes a team from this player
|
void |
Headquarter.removeTeam(Team team)
Removes a team from this headquarters
|
void |
InvitationBetweenTeamCompetition.setTeam(Team team)
Sets the team
|
| Modifier and Type | Method and Description |
|---|---|
void |
Competition.setTeams(List<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)
Creates a new instance of
Headquarter. |
InvitationBetweenTeamCompetition(Team team,
Competition competition)
Creates a new instance
InvitationBetweenTeamCompetition |
User(String login,
String password,
String email,
String name,
String surname,
GregorianCalendar birthdate,
IdentificationType identificationType,
String numIdentificationType,
String residence,
String location,
String province,
String country,
String phone,
String facebook,
String twitter,
String instagram,
Player player,
List<Player> managedPlayers,
List<Competition> managedCompetitions,
Team... teams)
Creates a new instance
User |
Copyright © 2018. All rights reserved.