Class TopScorer

java.lang.Object
com.sportdataapi.data.TopScorer

public class TopScorer
extends java.lang.Object
Top scorer object for Sportdataapi.com.
Author:
ralph
  • Constructor Details

  • Method Details

    • getPosition

      public int getPosition()
      Returns the position.
      Returns:
      the position
    • setPosition

      public void setPosition​(int position)
      Sets the position.
      Parameters:
      position - the position to set
    • getPlayer

      public TopScorer.Player getPlayer()
      Returns the player.
      Returns:
      the player
    • setPlayer

      public void setPlayer​(TopScorer.Player player)
      Sets the player.
      Parameters:
      player - the player to set
    • getTeam

      public TopScorer.Team getTeam()
      Returns the team.
      Returns:
      the team
    • setTeam

      public void setTeam​(TopScorer.Team team)
      Sets the team.
      Parameters:
      team - the team to set
    • getLeagueId

      public int getLeagueId()
      Returns the leagueId.
      Returns:
      the leagueId
    • setLeagueId

      public void setLeagueId​(int leagueId)
      Sets the leagueId.
      Parameters:
      leagueId - the leagueId to set
    • getSeasonId

      public int getSeasonId()
      Returns the seasonId.
      Returns:
      the seasonId
    • setSeasonId

      public void setSeasonId​(int seasonId)
      Sets the seasonId.
      Parameters:
      seasonId - the seasonId to set
    • getMatchesPlayed

      public int getMatchesPlayed()
      Returns the matchesPlayed.
      Returns:
      the matchesPlayed
    • setMatchesPlayed

      public void setMatchesPlayed​(int matchesPlayed)
      Sets the matchesPlayed.
      Parameters:
      matchesPlayed - the matchesPlayed to set
    • getMinutesPlayed

      public int getMinutesPlayed()
      Returns the minutesPlayed.
      Returns:
      the minutesPlayed
    • setMinutesPlayed

      public void setMinutesPlayed​(int minutesPlayed)
      Sets the minutesPlayed.
      Parameters:
      minutesPlayed - the minutesPlayed to set
    • getSubstitutedIn

      public int getSubstitutedIn()
      Returns the substitutedIn.
      Returns:
      the substitutedIn
    • setSubstitutedIn

      public void setSubstitutedIn​(int substitutedIn)
      Sets the substitutedIn.
      Parameters:
      substitutedIn - the substitutedIn to set
    • getGoals

      public TopScorer.ScoredGoals getGoals()
      Returns the goals.
      Returns:
      the goals
    • setGoals

      public void setGoals​(TopScorer.ScoredGoals 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
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object