Package com.sportdataapi.data
Class TeamLineup
java.lang.Object
com.sportdataapi.data.TeamLineup
public class TeamLineup
extends java.lang.Object
Provides the lineup for a team.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description TeamLineup()
Constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getFormation()
Returns the formation.java.util.List<Player>
getPlayers()
Returns the players.int
getTeamId()
Returns the teamId.boolean
isFormationConfirmed()
Returns the formationConfirmed.void
setFormation(java.lang.String formation)
Sets the formation.void
setFormationConfirmed(boolean formationConfirmed)
Sets the formationConfirmed.void
setPlayers(java.util.List<Player> players)
Sets the players.void
setTeamId(int teamId)
Sets the teamId.java.lang.String
toString()
-
Constructor Details
-
TeamLineup
public TeamLineup()Constructor.
-
-
Method Details
-
getTeamId
public int getTeamId()Returns the teamId.- Returns:
- the teamId
-
setTeamId
public void setTeamId(int teamId)Sets the teamId.- Parameters:
teamId
- the teamId to set
-
getFormation
public java.lang.String getFormation()Returns the formation.- Returns:
- the formation
-
setFormation
public void setFormation(java.lang.String formation)Sets the formation.- Parameters:
formation
- the formation to set
-
isFormationConfirmed
public boolean isFormationConfirmed()Returns the formationConfirmed.- Returns:
- the formationConfirmed
-
setFormationConfirmed
public void setFormationConfirmed(boolean formationConfirmed)Sets the formationConfirmed.- Parameters:
formationConfirmed
- the formationConfirmed to set
-
getPlayers
Returns the players.- Returns:
- the players
-
setPlayers
Sets the players.- Parameters:
players
- the players to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-