| Modifier and Type | Method and Description |
|---|---|
User |
Team.getManager()
Get the manager of the team.
|
User |
Player.getOwner()
Get the user who manages this player profile
|
| Modifier and Type | Method and Description |
|---|---|
void |
Team.setManager(User manager)
Set the manager of the team
|
void |
Player.setOwner(User owner)
Set the user who manages this player profile
|
| Constructor and Description |
|---|
Player(Long id,
String nick,
String name,
String lastName,
String email,
String city,
String province,
String interests,
String favouriteSports,
String favouriteTeams,
boolean publicPlayer,
Date deleted,
User owner,
byte[] avatar) |
Player(String nick,
String email,
String name,
String lastName,
User owner)
Utility constructor with basic profile data and the owner of this player
profile
|
Player(User owner)
Utility constructor with the owner of this player profile
|
Team(String teamName,
String abbreviatedTeamName,
String description,
String sportName,
String location,
String province,
String contactPersonName,
String contactPersonEmail,
int numMaxPlayers,
int numMinPlayers,
TeamVisibility teamVisibility,
User manager)
Constructor for a team
|
Copyright © 2018. All rights reserved.