@Entity public class TeamJPA extends Object
| Constructor and Description |
|---|
TeamJPA()
Empty constructor for the JPA Team.
|
TeamJPA(String fullName,
String abbreviatedName,
String descriptionTeam,
UserJPA u)
Constructor for JPA Team which gets some necessary parameters to create a
team
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviatedName()
Get the abbreviated name of the team.
|
String |
getContact()
Get the contact of the team.
|
Date |
getDeleted()
Get the deleted date of the player if it is deleted
|
String |
getDescriptionHeadquarters()
Get the description of headquarters of the team.
|
String |
getDescriptionTeam()
Get the description of the team.
|
String |
getEmail()
Get the email contact of the team.
|
String |
getFullName()
Get the full name of the team.
|
String |
getHeadquartersTeam()
Get the headquarters of team.
|
String |
getNameHeadquarters()
Get the name of headquarters of the team.
|
String |
getNetworks()
Get the networks of the team.
|
int |
getNumMaxPlayers()
Get the maximum number of players in team.
|
int |
getNumMinPlayers()
Get the minimum number of players in team.
|
int |
getPhone()
Get the phone contact of the team.
|
List<UserPlayerJPA> |
getPlayers()
Get the list of the players of team.
|
String |
getProvinceHeadquarters()
Get the province of headquarters of the team.
|
String |
getResidenceHeadquarters()
Get the residence of headquarters of the team.
|
String |
getStateInscriptions()
Get the state of inscriptions of the team.
|
String |
getTownHeadquarters()
Get the town of headquarters of the team.
|
String |
getTypeTeam()
Gets the type of the team
Types of the team: football11, football7, basketball, videoGames
|
UserPlayerJPA |
getUserPlayerJPA()
Get UserPlayer of team.
|
String |
getUserWhoCreatedTeam()
Get User who created of team.
|
String |
getVisibility()
Get the visibility of team.
|
String |
getWeb()
Get the web contact of the team.
|
void |
setAbbreviatedName(String abbreviatedName)
Set the abbreviated name of the team.
|
void |
setContact(String contact)
Set the contact of the team.
|
void |
setDeleted(Date deleted)
Set the deleted date of the player.
|
void |
setDescriptionHeadquarters(String descriptionHeadquarters)
Set the headquarters description of the team.
|
void |
setDescriptionTeam(String descriptionTeam)
Set the description of the team.
|
void |
setEmail(String email)
Set the email of the team.
|
void |
setFullName(String fullName)
Set the full name of the team.
|
void |
setHeadquartersTeam(String headquartersTeam)
Set the headquarters of the team.
|
void |
setNameHeadquarters(String nameHeadquarters)
Set the headquarters name of the team.
|
void |
setNetworks(String networks)
Set the networks of the team.
|
void |
setNumMaxPlayers(int numMaxPlayers)
Set the numMaxPlayers of the team.
|
void |
setNumMinPlayers(int numMinPlayers)
Set the numMinPlayers of the team.
|
void |
setPhone(int phone)
Set the phone of the team.
|
void |
setPlayers(List<UserPlayerJPA> players)
Set the players of the team.
|
void |
setProvinceHeadquarters(String provinceHeadquarters)
Set the headquarters province of the team.
|
void |
setResidenceHeadquarters(String residenceHeadquarters)
Set the headquarters residence of the team.
|
void |
setStateInscriptions(String stateInscriptions)
Set the stateInscriptions of the team.
|
void |
setTownHeadquarters(String townHeadquarters)
Set the headquarters town of the team.
|
void |
setTypeTeam(String typeTeam)
Set the type of the team
|
void |
setUserPlayerJPA(UserPlayerJPA userPlayerJPA)
Set the userPlayerJPA of the team.
|
void |
setUserWhoCreatedTeam(String userWhoCreatedTeam)
Set the user who create the team.
|
void |
setVisibility(String visibility)
Set the visibility of the team.
|
void |
setWeb(String web)
Set the web of the team.
|
public TeamJPA(String fullName, String abbreviatedName, String descriptionTeam, UserJPA u)
fullName - The full name of the team.abbreviatedName - The abbreviated name of the team.descriptionTeam - The description of the team.u - The user who wants create the team.public TeamJPA()
public String getFullName()
public void setFullName(String fullName)
fullName - the full name of the teampublic String getAbbreviatedName()
public void setAbbreviatedName(String abbreviatedName)
abbreviatedName - the abbreviated name of the teampublic String getDescriptionTeam()
public void setDescriptionTeam(String descriptionTeam)
descriptionTeam - the name of the teampublic String getTypeTeam()
public void setTypeTeam(String typeTeam)
typeTeam - the type of the teampublic String getNameHeadquarters()
public void setNameHeadquarters(String nameHeadquarters)
nameHeadquarters - the headquarters name of the teampublic String getDescriptionHeadquarters()
public void setDescriptionHeadquarters(String descriptionHeadquarters)
descriptionHeadquarters - the headquarters description of the teampublic String getResidenceHeadquarters()
public void setResidenceHeadquarters(String residenceHeadquarters)
residenceHeadquarters - the headquarters residence of the teampublic String getTownHeadquarters()
public void setTownHeadquarters(String townHeadquarters)
townHeadquarters - the headquarters town of the teampublic String getProvinceHeadquarters()
public void setProvinceHeadquarters(String provinceHeadquarters)
provinceHeadquarters - the headquarters province of the teampublic String getContact()
public void setContact(String contact)
contact - the contact of the teampublic String getEmail()
public void setEmail(String email)
email - the email of the teampublic String getWeb()
public void setWeb(String web)
web - the web of the teampublic int getPhone()
public void setPhone(int phone)
phone - the phone of the teampublic String getNetworks()
public void setNetworks(String networks)
networks - the networks of the teampublic String getStateInscriptions()
public void setStateInscriptions(String stateInscriptions)
stateInscriptions - the stateInscriptions of the teampublic int getNumMinPlayers()
public void setNumMinPlayers(int numMinPlayers)
numMinPlayers - the numMinPlayers of the teampublic int getNumMaxPlayers()
public void setNumMaxPlayers(int numMaxPlayers)
numMaxPlayers - the numMaxPlayers of the teampublic String getHeadquartersTeam()
public void setHeadquartersTeam(String headquartersTeam)
headquartersTeam - the headquarters of the teampublic String getVisibility()
public void setVisibility(String visibility)
visibility - the visibility of the teampublic List<UserPlayerJPA> getPlayers()
public void setPlayers(List<UserPlayerJPA> players)
players - the players of the teampublic UserPlayerJPA getUserPlayerJPA()
public void setUserPlayerJPA(UserPlayerJPA userPlayerJPA)
userPlayerJPA - the userPlayerJPA of the teampublic Date getDeleted()
public void setDeleted(Date deleted)
deleted - The deleted day of the playerpublic String getUserWhoCreatedTeam()
public void setUserWhoCreatedTeam(String userWhoCreatedTeam)
userWhoCreatedTeam - the user who create the teamCopyright © 2017. All rights reserved.