public class PlayerDTO extends Object
| Constructor and Description |
|---|
PlayerDTO() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPlayerEmail()
Returns the email of the Player.
|
String |
getPlayerFavouriteSportsList()
Returns the list of favourite sports of Player.
|
String |
getPlayerFavouriteTeamList()
Returns the list of favourite teams of Player.
|
long |
getPlayerId()
Returns the id of the Player.
|
String |
getPlayerInterests()
Returns the interests of the Player.
|
String |
getPlayerLocation()
Returns the location where the Player is living.
|
String |
getPlayerNickName()
Returns the nickname of the Player.
|
Boolean |
getPlayerPrivacity()
Returns the account privacity of the Player
|
String |
getPlayerProvince()
Returns the province where the Player is living.
|
List<TeamDTO> |
getPlayerTeams()
Returns the player
TeamDTOs. |
void |
setPlayerEmail(String playerEmail)
Sets the email of the Player.
|
void |
setPlayerFavouriteSportsList(String playerFavouriteSportsList)
Sets the list of favourite sports of the Player.
|
void |
setPlayerFavouriteTeamList(String playerFavouriteTeamList)
Sets the list of favourite teams of Player
|
void |
setPlayerId(long playerId)
Sets the id of the Player.
|
void |
setPlayerInterests(String playerInterests)
Sets the interests of the Player.
|
void |
setPlayerLocation(String playerLocation)
Sets the location where the Player is living.
|
void |
setPlayerNickName(String playerNickName)
Sets the playerNickname of the Player.
|
void |
setPlayerPrivacity(Boolean privacity)
Sets the privacity for the account of Player
|
void |
setPlayerProvince(String playerProvince)
Sets the province where the Player is living.
|
void |
setPlayerTeams(List<TeamDTO> playerTeams)
Sets the
Teams of the player. |
public long getPlayerId()
public void setPlayerId(long playerId)
playerId - the id of the Player.public String getPlayerNickName()
public void setPlayerNickName(String playerNickName)
playerNickName - the nickname of the Player.public String getPlayerInterests()
public void setPlayerInterests(String playerInterests)
playerInterests - the interests of the Player.public String getPlayerEmail()
public void setPlayerEmail(String playerEmail)
playerEmail - the email of the Player.public String getPlayerLocation()
public void setPlayerLocation(String playerLocation)
playerLocation - the location where the Player is living.public String getPlayerProvince()
public void setPlayerProvince(String playerProvince)
playerProvince - the province Player where the player is living.public String getPlayerFavouriteSportsList()
public void setPlayerFavouriteSportsList(String playerFavouriteSportsList)
playerFavouriteSportsList - the list of favourite sports of the Player.public String getPlayerFavouriteTeamList()
public void setPlayerFavouriteTeamList(String playerFavouriteTeamList)
playerFavouriteTeamList - the list of favourite teams of the Player.public Boolean getPlayerPrivacity()
public void setPlayerPrivacity(Boolean privacity)
privacity - if player is private.public List<TeamDTO> getPlayerTeams()
TeamDTOs.TeamDTOs.Copyright © 2018. All rights reserved.