Class Match

java.lang.Object
com.sportdataapi.data.Match

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

    • Match

      public Match()
      Constructor.
  • Method Details

    • getId

      public int getId()
      Returns the id.
      Returns:
      the id
    • setId

      public void setId​(int id)
      Sets the id.
      Parameters:
      id - the id to set
    • getStatus

      public MatchStatus getStatus()
      Returns the status.
      Returns:
      the status
    • setStatus

      public void setStatus​(MatchStatus status)
      Sets the status.
      Parameters:
      status - the status to set
    • getStatusText

      public java.lang.String getStatusText()
      Returns the statusText.
      Returns:
      the statusText
    • setStatusText

      public void setStatusText​(java.lang.String statusText)
      Sets the statusText.
      Parameters:
      statusText - the statusText to set
    • getStart

      public RsDate getStart()
      Returns the start.
      Returns:
      the start
    • setStart

      public void setStart​(RsDate start)
      Sets the start.
      Parameters:
      start - the start to set
    • getMinute

      public java.lang.Integer getMinute()
      Returns the minute.
      Returns:
      the minute
    • setMinute

      public void setMinute​(java.lang.Integer minute)
      Sets the minute.
      Parameters:
      minute - the minute to set
    • getLeague

      public int getLeague()
      Returns the league.
      Returns:
      the league
    • setLeague

      public void setLeague​(int league)
      Sets the league.
      Parameters:
      league - the league to set
    • getSeason

      public int getSeason()
      Returns the season.
      Returns:
      the season
    • setSeason

      public void setSeason​(int season)
      Sets the season.
      Parameters:
      season - the season to set
    • getRound

      public int getRound()
      Returns the round.
      Returns:
      the round
    • setRound

      public void setRound​(int round)
      Sets the round.
      Parameters:
      round - the round to set
    • getResults

      public MatchResults getResults()
      Returns the results.
      Returns:
      the results
    • setResults

      public void setResults​(MatchResults results)
      Sets the results.
      Parameters:
      results - the results to set
    • getHomeTeam

      public Team getHomeTeam()
      Returns the homeTeam.
      Returns:
      the homeTeam
    • setHomeTeam

      public void setHomeTeam​(Team homeTeam)
      Sets the homeTeam.
      Parameters:
      homeTeam - the homeTeam to set
    • getGuestTeam

      public Team getGuestTeam()
      Returns the guestTeam.
      Returns:
      the guestTeam
    • setGuestTeam

      public void setGuestTeam​(Team guestTeam)
      Sets the guestTeam.
      Parameters:
      guestTeam - the guestTeam to set
    • getEvents

      public java.util.List<MatchEvent> getEvents()
      Returns the events.
      Returns:
      the events
    • setEvents

      public void setEvents​(java.util.List<MatchEvent> events)
      Sets the events.
      Parameters:
      events - the events to set
    • setMatchStatistics

      public void setMatchStatistics​(TeamStats[] stats)
      Sets the matchStatistics.
      Parameters:
      events - the events to set
    • getHomeTeamStats

      public TeamStats getHomeTeamStats()
      Returns the homeTeamStats.
      Returns:
      the homeTeamStats
    • getGuestTeamStats

      public TeamStats getGuestTeamStats()
      Returns the guestTeamStats.
      Returns:
      the guestTeamStats
    • setLineups

      public void setLineups​(TeamLineup[] lineups)
      Sets the lineups.
      Parameters:
      lineups - the lineups to set
    • getHomeTeamLineup

      public TeamLineup getHomeTeamLineup()
      Returns the homeTeamLineup.
      Returns:
      the homeTeamLineup
    • getGuestTeamLineup

      public TeamLineup getGuestTeamLineup()
      Returns the guestTeamLineup.
      Returns:
      the guestTeamLineup
    • getVenue

      public Venue getVenue()
      Returns the venue.
      Returns:
      the venue
    • setVenue

      public void setVenue​(Venue venue)
      Sets the venue.
      Parameters:
      venue - the venue to set
    • toString

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