Package com.sportdataapi.data
Class TeamStandings.StandingsStats
java.lang.Object
com.sportdataapi.data.TeamStandings.StandingsStats
- Enclosing class:
- TeamStandings
public static class TeamStandings.StandingsStats
extends java.lang.Object
Statistics about the goals and wins.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description StandingsStats()
Constructor. -
Method Summary
Modifier and Type Method Description int
getDraw()
Returns the draw.int
getGamesPlayed()
Returns the gamesPlayed.int
getGoalsAgainst()
Returns the goalsAgainst.int
getGoalsDiff()
Returns the goalsDiff.int
getGoalsScored()
Returns the goalsScored.int
getLost()
Returns the lost.int
getWon()
Returns the won.void
setDraw(int draw)
Sets the draw.void
setGamesPlayed(int gamesPlayed)
Sets the gamesPlayed.void
setGoalsAgainst(int goalsAgainst)
Sets the goalsAgainst.void
setGoalsDiff(int goalsDiff)
Sets the goalsDiff.void
setGoalsScored(int goalsScored)
Sets the goalsScored.void
setLost(int lost)
Sets the lost.void
setWon(int won)
Sets the won.java.lang.String
toString()
-
Constructor Details
-
StandingsStats
public StandingsStats()Constructor.
-
-
Method Details
-
getGamesPlayed
public int getGamesPlayed()Returns the gamesPlayed.- Returns:
- the gamesPlayed
-
setGamesPlayed
public void setGamesPlayed(int gamesPlayed)Sets the gamesPlayed.- Parameters:
gamesPlayed
- the gamesPlayed to set
-
getWon
public int getWon()Returns the won.- Returns:
- the won
-
setWon
public void setWon(int won)Sets the won.- Parameters:
won
- the won to set
-
getDraw
public int getDraw()Returns the draw.- Returns:
- the draw
-
setDraw
public void setDraw(int draw)Sets the draw.- Parameters:
draw
- the draw to set
-
getLost
public int getLost()Returns the lost.- Returns:
- the lost
-
setLost
public void setLost(int lost)Sets the lost.- Parameters:
lost
- the lost to set
-
getGoalsDiff
public int getGoalsDiff()Returns the goalsDiff.- Returns:
- the goalsDiff
-
setGoalsDiff
public void setGoalsDiff(int goalsDiff)Sets the goalsDiff.- Parameters:
goalsDiff
- the goalsDiff to set
-
getGoalsScored
public int getGoalsScored()Returns the goalsScored.- Returns:
- the goalsScored
-
setGoalsScored
public void setGoalsScored(int goalsScored)Sets the goalsScored.- Parameters:
goalsScored
- the goalsScored to set
-
getGoalsAgainst
public int getGoalsAgainst()Returns the goalsAgainst.- Returns:
- the goalsAgainst
-
setGoalsAgainst
public void setGoalsAgainst(int goalsAgainst)Sets the goalsAgainst.- Parameters:
goalsAgainst
- the goalsAgainst to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-