Package com.sportdataapi.data
Class TeamStandings
java.lang.Object
com.sportdataapi.data.TeamStandings
public class TeamStandings
extends java.lang.Object
TeamStandings object for Sportdataapi.com.
- Author:
- ralph
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TeamStandings.StandingsStats
Statistics about the goals and wins. -
Constructor Summary
Constructors Constructor Description TeamStandings()
Constructor. -
Method Summary
Modifier and Type Method Description TeamStandings.StandingsStats
getAwayStats()
Returns the awayStats.TeamStandings.StandingsStats
getHomeStats()
Returns the homeStats.TeamStandings.StandingsStats
getOverallStats()
Returns the overallStats.int
getPoints()
Returns the points.java.lang.String
getResult()
Returns the result.java.lang.String
getStatus()
Returns the status.int
getTeamId()
Returns the teamId.void
setAwayStats(TeamStandings.StandingsStats awayStats)
Sets the awayStats.void
setHomeStats(TeamStandings.StandingsStats homeStats)
Sets the homeStats.void
setOverallStats(TeamStandings.StandingsStats overallStats)
Sets the overallStats.void
setPoints(int points)
Sets the points.void
setResult(java.lang.String result)
Sets the result.void
setStatus(java.lang.String status)
Sets the status.void
setTeamId(int teamId)
Sets the teamId.java.lang.String
toString()
-
Constructor Details
-
TeamStandings
public TeamStandings()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
-
getPoints
public int getPoints()Returns the points.- Returns:
- the points
-
setPoints
public void setPoints(int points)Sets the points.- Parameters:
points
- the points to set
-
getStatus
public java.lang.String getStatus()Returns the status.- Returns:
- the status
-
setStatus
public void setStatus(java.lang.String status)Sets the status.- Parameters:
status
- the status to set
-
getResult
public java.lang.String getResult()Returns the result.- Returns:
- the result
-
setResult
public void setResult(java.lang.String result)Sets the result.- Parameters:
result
- the result to set
-
getOverallStats
Returns the overallStats.- Returns:
- the overallStats
-
setOverallStats
Sets the overallStats.- Parameters:
overallStats
- the overallStats to set
-
getHomeStats
Returns the homeStats.- Returns:
- the homeStats
-
setHomeStats
Sets the homeStats.- Parameters:
homeStats
- the homeStats to set
-
getAwayStats
Returns the awayStats.- Returns:
- the awayStats
-
setAwayStats
Sets the awayStats.- Parameters:
awayStats
- the awayStats to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-