public class TeamDTO extends Object
| Constructor and Description |
|---|
TeamDTO() |
| Modifier and Type | Method and Description |
|---|---|
ContactDTO |
getTeamContact()
Returns the
ContactDTO of the Team. |
String |
getTeamDescription()
Returns the description of the Team.
|
HeadQuarterDTO |
getTeamHeadQuarter()
Returns the team
HeadQuarterDTO. |
long |
getTeamId()
Returns the id of the Team.
|
int |
getTeamMaxPlayers()
Returns the maximum number of players of the Team.
|
int |
getTeamMinPlayers()
Returns the minimum number of players of the Team.
|
String |
getTeamName()
Returns the name of the Team.
|
Boolean |
getTeamOpen()
Returns if team is open or no.
|
Boolean |
getTeamPublic()
Returns if the team is public.
|
String |
getTeamShortName()
Returns the short name of the Team.
|
SportType |
getTeamSportType()
Returns the
SportType of the Team. |
void |
setTeamContact(ContactDTO teamContact)
Sets the
ContactDTO of the Team. |
void |
setTeamDescription(String teamDescription)
Sets the description of the Team.
|
void |
setTeamHeadQuarter(HeadQuarterDTO teamHeadQuarter)
Sets the team
HeadQuarterDTO. |
void |
setTeamId(long teamId)
Sets the id of the Team.
|
void |
setTeamMaxPlayers(int teamMaxPlayers)
Sets the maximum number of players of the Team.
|
void |
setTeamMinPlayers(int teamMinPlayers)
Sets the minimum number of players of the Team.
|
void |
setTeamName(String teamName)
Sets the name of the Team.
|
void |
setTeamOpen(Boolean teamOpen)
Sets if the Team is open.
|
void |
setTeamPublic(Boolean teamPublic)
Sets if the Team is public.
|
void |
setTeamShortName(String teamShortName)
Sets the short name of the Team.
|
void |
setTeamSportType(SportType teamSportType)
Sets the
SportType of the Team. |
public long getTeamId()
public void setTeamId(long teamId)
teamId - the id of the Team.public String getTeamName()
public void setTeamName(String teamName)
teamName - the name of the Team.public String getTeamShortName()
public void setTeamShortName(String teamShortName)
teamShortName - the short name of the Team.public String getTeamDescription()
public void setTeamDescription(String teamDescription)
teamDescription - the description of the Team.public SportType getTeamSportType()
SportType of the Team.SportType of the Team.public void setTeamSportType(SportType teamSportType)
SportType of the Team.teamSportType - the SportType of the Team.public Boolean getTeamOpen()
public void setTeamOpen(Boolean teamOpen)
teamOpen - sets if the Team is openpublic int getTeamMinPlayers()
public void setTeamMinPlayers(int teamMinPlayers)
teamMinPlayers - the minimum number of players of the Team.public int getTeamMaxPlayers()
public void setTeamMaxPlayers(int teamMaxPlayers)
teamMaxPlayers - the maximum number of players of the Team.public Boolean getTeamPublic()
public void setTeamPublic(Boolean teamPublic)
teamPublic - sets if the Team is publicpublic ContactDTO getTeamContact()
ContactDTO of the Team.ContactDTO of the Team.public void setTeamContact(ContactDTO teamContact)
ContactDTO of the Team.teamContact - the ContactDTO of the Team.public HeadQuarterDTO getTeamHeadQuarter()
HeadQuarterDTO.HeadQuarterDTO.public void setTeamHeadQuarter(HeadQuarterDTO teamHeadQuarter)
HeadQuarterDTO.teamHeadQuarter - the Head quarter of the team. This parameter must be a
HeadQuarterDTO.Copyright © 2018. All rights reserved.