Package com.sportdataapi.data
Class Match
java.lang.Object
com.sportdataapi.data.Match
public class Match
extends java.lang.Object
Match object for Sportdataapi.com.
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description Match()
Constructor. -
Method Summary
Modifier and Type Method Description java.util.List<MatchEvent>
getEvents()
Returns the events.Team
getGuestTeam()
Returns the guestTeam.TeamLineup
getGuestTeamLineup()
Returns the guestTeamLineup.TeamStats
getGuestTeamStats()
Returns the guestTeamStats.Team
getHomeTeam()
Returns the homeTeam.TeamLineup
getHomeTeamLineup()
Returns the homeTeamLineup.TeamStats
getHomeTeamStats()
Returns the homeTeamStats.int
getId()
Returns the id.int
getLeague()
Returns the league.java.lang.Integer
getMinute()
Returns the minute.MatchResults
getResults()
Returns the results.int
getRound()
Returns the round.int
getSeason()
Returns the season.RsDate
getStart()
Returns the start.MatchStatus
getStatus()
Returns the status.java.lang.String
getStatusText()
Returns the statusText.Venue
getVenue()
Returns the venue.void
setEvents(java.util.List<MatchEvent> events)
Sets the events.void
setGuestTeam(Team guestTeam)
Sets the guestTeam.void
setHomeTeam(Team homeTeam)
Sets the homeTeam.void
setId(int id)
Sets the id.void
setLeague(int league)
Sets the league.void
setLineups(TeamLineup[] lineups)
Sets the lineups.void
setMatchStatistics(TeamStats[] stats)
Sets the matchStatistics.void
setMinute(java.lang.Integer minute)
Sets the minute.void
setResults(MatchResults results)
Sets the results.void
setRound(int round)
Sets the round.void
setSeason(int season)
Sets the season.void
setStart(RsDate start)
Sets the start.void
setStatus(MatchStatus status)
Sets the status.void
setStatusText(java.lang.String statusText)
Sets the statusText.void
setVenue(Venue venue)
Sets the venue.java.lang.String
toString()
-
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
Returns the status.- Returns:
- the status
-
setStatus
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
Returns the start.- Returns:
- the start
-
setStart
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
Returns the results.- Returns:
- the results
-
setResults
Sets the results.- Parameters:
results
- the results to set
-
getHomeTeam
Returns the homeTeam.- Returns:
- the homeTeam
-
setHomeTeam
Sets the homeTeam.- Parameters:
homeTeam
- the homeTeam to set
-
getGuestTeam
Returns the guestTeam.- Returns:
- the guestTeam
-
setGuestTeam
Sets the guestTeam.- Parameters:
guestTeam
- the guestTeam to set
-
getEvents
Returns the events.- Returns:
- the events
-
setEvents
Sets the events.- Parameters:
events
- the events to set
-
setMatchStatistics
Sets the matchStatistics.- Parameters:
events
- the events to set
-
getHomeTeamStats
Returns the homeTeamStats.- Returns:
- the homeTeamStats
-
getGuestTeamStats
Returns the guestTeamStats.- Returns:
- the guestTeamStats
-
setLineups
Sets the lineups.- Parameters:
lineups
- the lineups to set
-
getHomeTeamLineup
Returns the homeTeamLineup.- Returns:
- the homeTeamLineup
-
getGuestTeamLineup
Returns the guestTeamLineup.- Returns:
- the guestTeamLineup
-
getVenue
Returns the venue.- Returns:
- the venue
-
setVenue
Sets the venue.- Parameters:
venue
- the venue to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-