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 rs.baselib.util.RsDate getStart()
      Returns the start.
      Returns:
      the start
    • setStart

      public void setStart​(rs.baselib.util.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
    • 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
    • getRoundId

      public int getRoundId()
      Returns the roundId.
      Returns:
      the roundId
    • setRoundId

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

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

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

      public Stage getStage()
      Returns the stage object.
      Returns:
      the stage
    • setStage

      public void setStage​(Stage stage)
      Sets the stage object.
      Parameters:
      stage - the stage to set
    • getGroup

      public Group getGroup()
      Returns the group object.
      Returns:
      the group
    • setGroup

      public void setGroup​(Group group)
      Sets the group object.
      Parameters:
      group - the group 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
    • getRefereeId

      public int getRefereeId()
      Returns the Referee ID.
      Returns:
      the refereeId
    • setRefereeId

      public void setRefereeId​(int refereeId)
      Sets the Referee ID.
      Parameters:
      refereeId - the refereeId 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:
      stats - - the match statistics 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