Package com.sportdataapi.data
Class TeamStats
java.lang.Object
com.sportdataapi.data.TeamStats
public class TeamStats
extends java.lang.Object
Team statistics object for sportdatapi.com.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description TeamStats()
Constructor. -
Method Summary
Modifier and Type Method Description int
getAttacks()
Returns the attacks.int
getBallSafes()
Returns the ballSafes.int
getCorners()
Returns the corners.int
getDangerousAttacks()
Returns the dangerousAttacks.int
getFouls()
Returns the fouls.int
getFreeKicks()
Returns the freeKicks.int
getGoalAttempts()
Returns the goalAttempts.int
getGoalKicks()
Returns the goalKicks.int
getGoals()
Returns the goals.int
getInjuries()
Returns the injuries.int
getOffsides()
Returns the offsides.int
getPenalties()
Returns the penalties.int
getPossessionPercent()
Returns the possessionPercent.int
getPossessionTime()
Returns the possessionTime.int
getRedCards()
Returns the redCards.int
getShotsBlocked()
Returns the shotsBlocked.int
getShotsOffTarget()
Returns the shotsOffTarget.int
getShotsOnTarget()
Returns the shotsOnTarget.int
getSubstitutions()
Returns the substitutions.int
getTeamId()
Returns the teamId.java.lang.String
getTeamName()
Returns the teamName.int
getThrowIns()
Returns the throwIns.int
getYellowCards()
Returns the yellowCards.int
getYellowRedCards()
Returns the yellowRedCards.void
setAttacks(int attacks)
Sets the attacks.void
setBallSafes(int ballSafes)
Sets the ballSafes.void
setCorners(int corners)
Sets the corners.void
setDangerousAttacks(int dangerousAttacks)
Sets the dangerousAttacks.void
setFouls(int fouls)
Sets the fouls.void
setFreeKicks(int freeKicks)
Sets the freeKicks.void
setGoalAttempts(int goalAttempts)
Sets the goalAttempts.void
setGoalKicks(int goalKicks)
Sets the goalKicks.void
setGoals(int goals)
Sets the goals.void
setInjuries(int injuries)
Sets the injuries.void
setOffsides(int offsides)
Sets the offsides.void
setPenalties(int penalties)
Sets the penalties.void
setPossessionPercent(int possessionPercent)
Sets the possessionPercent.void
setPossessionTime(int possessionTime)
Sets the possessionTime.void
setRedCards(int redCards)
Sets the redCards.void
setShotsBlocked(int shotsBlocked)
Sets the shotsBlocked.void
setShotsOffTarget(int shotsOffTarget)
Sets the shotsOffTarget.void
setShotsOnTarget(int shotsOnTarget)
Sets the shotsOnTarget.void
setSubstitutions(int substitutions)
Sets the substitutions.void
setTeamId(int teamId)
Sets the teamId.void
setTeamName(java.lang.String teamName)
Sets the teamName.void
setThrowIns(int throwIns)
Sets the throwIns.void
setYellowCards(int yellowCards)
Sets the yellowCards.void
setYellowRedCards(int yellowRedCards)
Sets the yellowRedCards.java.lang.String
toString()
-
Constructor Details
-
TeamStats
public TeamStats()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
-
getTeamName
public java.lang.String getTeamName()Returns the teamName.- Returns:
- the teamName
-
setTeamName
public void setTeamName(java.lang.String teamName)Sets the teamName.- Parameters:
teamName
- the teamName to set
-
getFouls
public int getFouls()Returns the fouls.- Returns:
- the fouls
-
setFouls
public void setFouls(int fouls)Sets the fouls.- Parameters:
fouls
- the fouls to set
-
getInjuries
public int getInjuries()Returns the injuries.- Returns:
- the injuries
-
setInjuries
public void setInjuries(int injuries)Sets the injuries.- Parameters:
injuries
- the injuries to set
-
getCorners
public int getCorners()Returns the corners.- Returns:
- the corners
-
setCorners
public void setCorners(int corners)Sets the corners.- Parameters:
corners
- the corners to set
-
getOffsides
public int getOffsides()Returns the offsides.- Returns:
- the offsides
-
setOffsides
public void setOffsides(int offsides)Sets the offsides.- Parameters:
offsides
- the offsides to set
-
getShotsOnTarget
public int getShotsOnTarget()Returns the shotsOnTarget.- Returns:
- the shotsOnTarget
-
setShotsOnTarget
public void setShotsOnTarget(int shotsOnTarget)Sets the shotsOnTarget.- Parameters:
shotsOnTarget
- the shotsOnTarget to set
-
getShotsOffTarget
public int getShotsOffTarget()Returns the shotsOffTarget.- Returns:
- the shotsOffTarget
-
setShotsOffTarget
public void setShotsOffTarget(int shotsOffTarget)Sets the shotsOffTarget.- Parameters:
shotsOffTarget
- the shotsOffTarget to set
-
getShotsBlocked
public int getShotsBlocked()Returns the shotsBlocked.- Returns:
- the shotsBlocked
-
setShotsBlocked
public void setShotsBlocked(int shotsBlocked)Sets the shotsBlocked.- Parameters:
shotsBlocked
- the shotsBlocked to set
-
getPossessionTime
public int getPossessionTime()Returns the possessionTime.- Returns:
- the possessionTime
-
setPossessionTime
public void setPossessionTime(int possessionTime)Sets the possessionTime.- Parameters:
possessionTime
- the possessionTime to set
-
getPossessionPercent
public int getPossessionPercent()Returns the possessionPercent.- Returns:
- the possessionPercent
-
setPossessionPercent
public void setPossessionPercent(int possessionPercent)Sets the possessionPercent.- Parameters:
possessionPercent
- the possessionPercent to set
-
getYellowCards
public int getYellowCards()Returns the yellowCards.- Returns:
- the yellowCards
-
setYellowCards
public void setYellowCards(int yellowCards)Sets the yellowCards.- Parameters:
yellowCards
- the yellowCards to set
-
getYellowRedCards
public int getYellowRedCards()Returns the yellowRedCards.- Returns:
- the yellowRedCards
-
setYellowRedCards
public void setYellowRedCards(int yellowRedCards)Sets the yellowRedCards.- Parameters:
yellowRedCards
- the yellowRedCards to set
-
getRedCards
public int getRedCards()Returns the redCards.- Returns:
- the redCards
-
setRedCards
public void setRedCards(int redCards)Sets the redCards.- Parameters:
redCards
- the redCards to set
-
getSubstitutions
public int getSubstitutions()Returns the substitutions.- Returns:
- the substitutions
-
setSubstitutions
public void setSubstitutions(int substitutions)Sets the substitutions.- Parameters:
substitutions
- the substitutions to set
-
getGoalKicks
public int getGoalKicks()Returns the goalKicks.- Returns:
- the goalKicks
-
setGoalKicks
public void setGoalKicks(int goalKicks)Sets the goalKicks.- Parameters:
goalKicks
- the goalKicks to set
-
getGoalAttempts
public int getGoalAttempts()Returns the goalAttempts.- Returns:
- the goalAttempts
-
setGoalAttempts
public void setGoalAttempts(int goalAttempts)Sets the goalAttempts.- Parameters:
goalAttempts
- the goalAttempts to set
-
getFreeKicks
public int getFreeKicks()Returns the freeKicks.- Returns:
- the freeKicks
-
setFreeKicks
public void setFreeKicks(int freeKicks)Sets the freeKicks.- Parameters:
freeKicks
- the freeKicks to set
-
getThrowIns
public int getThrowIns()Returns the throwIns.- Returns:
- the throwIns
-
setThrowIns
public void setThrowIns(int throwIns)Sets the throwIns.- Parameters:
throwIns
- the throwIns to set
-
getBallSafes
public int getBallSafes()Returns the ballSafes.- Returns:
- the ballSafes
-
setBallSafes
public void setBallSafes(int ballSafes)Sets the ballSafes.- Parameters:
ballSafes
- the ballSafes to set
-
getGoals
public int getGoals()Returns the goals.- Returns:
- the goals
-
setGoals
public void setGoals(int goals)Sets the goals.- Parameters:
goals
- the goals to set
-
getPenalties
public int getPenalties()Returns the penalties.- Returns:
- the penalties
-
setPenalties
public void setPenalties(int penalties)Sets the penalties.- Parameters:
penalties
- the penalties to set
-
getAttacks
public int getAttacks()Returns the attacks.- Returns:
- the attacks
-
setAttacks
public void setAttacks(int attacks)Sets the attacks.- Parameters:
attacks
- the attacks to set
-
getDangerousAttacks
public int getDangerousAttacks()Returns the dangerousAttacks.- Returns:
- the dangerousAttacks
-
setDangerousAttacks
public void setDangerousAttacks(int dangerousAttacks)Sets the dangerousAttacks.- Parameters:
dangerousAttacks
- the dangerousAttacks to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-