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.Group
getGroup()
Returns the group object.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
getLeagueId()
Returns the leagueId.java.lang.Integer
getMinute()
Returns the minute.int
getRefereeId()
Returns the Referee ID.MatchResults
getResults()
Returns the results.Round
getRound()
Returns the round.int
getRoundId()
Returns the roundId.int
getSeasonId()
Returns the seasonId.Stage
getStage()
Returns the stage object.rs.baselib.util.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
setGroup(Group group)
Sets the group object.void
setGuestTeam(Team guestTeam)
Sets the guestTeam.void
setHomeTeam(Team homeTeam)
Sets the homeTeam.void
setId(int id)
Sets the id.void
setLeagueId(int leagueId)
Sets the leagueId.void
setLineups(TeamLineup[] lineups)
Sets the lineups.void
setMatchStatistics(TeamStats[] stats)
Sets the matchStatistics.void
setMinute(java.lang.Integer minute)
Sets the minute.void
setRefereeId(int refereeId)
Sets the Referee ID.void
setResults(MatchResults results)
Sets the results.void
setRound(Round round)
Sets the round.void
setRoundId(int roundId)
Sets the roundId.void
setSeasonId(int seasonId)
Sets the seasonId.void
setStage(Stage stage)
Sets the stage object.void
setStart(rs.baselib.util.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
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
Returns the round.- Returns:
- the round
-
setRound
Sets the round.- Parameters:
round
- the round to set
-
getStage
Returns the stage object.- Returns:
- the stage
-
setStage
Sets the stage object.- Parameters:
stage
- the stage to set
-
getGroup
Returns the group object.- Returns:
- the group
-
setGroup
Sets the group object.- Parameters:
group
- the group 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
-
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
Returns the events.- Returns:
- the events
-
setEvents
Sets the events.- Parameters:
events
- the events to set
-
setMatchStatistics
Sets the matchStatistics.- Parameters:
stats
- - the match statistics 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
-