public class SeasonImpl extends Object implements Season
| Constructor and Description |
|---|
SeasonImpl(Urn id,
Urn sportId,
List<Locale> locales,
SportEventCache sportEventCache,
SportEntityFactory sportEntityFactory,
ExceptionHandlingStrategy exceptionHandlingStrategy)
Initializes a new
SeasonImpl instance |
| Modifier and Type | Method and Description |
|---|---|
List<Competitor> |
getCompetitors()
Returns a
List of competitors that participate in the sport event
associated with the current instance |
Round |
getCurrentRound()
Returns a
Round instance specifying the current season round |
List<Group> |
getGroups()
Returns a
List of groups associated with the associated season |
Urn |
getId()
Returns an
Urn uniquely identifying the tournament associated with the current instance |
String |
getName(Locale locale)
Returns the sport event name
|
Urn |
getReplacedBy()
Returns the
Urn specifying the replacement sport event for the current instance |
List<Competition> |
getSchedule()
Returns a
List of events that belong to the associated season |
Date |
getScheduledEndTime()
Returns the
Date specifying when the sport event associated with the current
instance was scheduled to end |
Date |
getScheduledTime()
Returns the
Date specifying when the sport event associated with the current
instance was scheduled |
SeasonCoverage |
getSeasonCoverage()
Returns a
SeasonCoverage instance containing information about the available
coverage for the associated season |
SportSummary |
getSport()
Returns a
SportSummary instance representing the sport associated with the current instance |
Urn |
getSportId()
Returns the associated sport identifier
(This method its overridden because the superclass SportEvent does not contain the sportId in all cases)
|
TournamentCoverage |
getTournamentCoverage()
Returns a
TournamentCoverage instance which describes the associated tournament coverage information |
TournamentInfo |
getTournamentInfo()
Returns a
TournamentInfo which contains data of the associated tournament |
String |
getYear()
Returns the
String representation the year of the season |
Boolean |
isStartTimeTbd()
Returns the
Boolean specifying if the start time to be determined is set for the current instance |
String |
toString()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic SeasonImpl(Urn id, Urn sportId, List<Locale> locales, SportEventCache sportEventCache, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy)
SeasonImpl instanceid - an Urn uniquely identifying the season associated with the current instancesportId - an Urn identifying the sport to which the season belongslocales - a List of all languages for this instancesportEventCache - a SportEventCache instance used to retrieve sport eventssportEntityFactory - a SportEntityFactory instance used to construct Competition instancesexceptionHandlingStrategy - the desired exception handling strategypublic String getName(Locale locale)
getName in interface SportEventlocale - the Locale in which the name should be providedpublic Date getScheduledTime()
Date specifying when the sport event associated with the current
instance was scheduledgetScheduledTime in interface SportEventDate instance specifying when the sport event associated with the current
instance was scheduledpublic Date getScheduledEndTime()
Date specifying when the sport event associated with the current
instance was scheduled to endgetScheduledEndTime in interface SportEventDate instance specifying when the sport event associated with the current
instance was scheduled to endpublic Boolean isStartTimeTbd()
Boolean specifying if the start time to be determined is set for the current instanceisStartTimeTbd in interface SportEventBoolean specifying if the start time to be determined is set for the current instancepublic Urn getReplacedBy()
Urn specifying the replacement sport event for the current instancegetReplacedBy in interface SportEventUrn specifying the replacement sport event for the current instancepublic SeasonCoverage getSeasonCoverage()
SeasonCoverage instance containing information about the available
coverage for the associated seasongetSeasonCoverage in interface SeasonSeasonCoverage instance containing information about the available coveragepublic List<Group> getGroups()
List of groups associated with the associated seasonpublic List<Competition> getSchedule()
List of events that belong to the associated seasongetSchedule in interface SeasonList of events that belong to the associated seasonpublic Round getCurrentRound()
Round instance specifying the current season roundgetCurrentRound in interface SeasonRound instance specifying the current season roundpublic TournamentInfo getTournamentInfo()
TournamentInfo which contains data of the associated tournamentgetTournamentInfo in interface SeasonTournamentInfo which contains data of the associated seasonpublic List<Competitor> getCompetitors()
List of competitors that participate in the sport event
associated with the current instancegetCompetitors in interface SeasonList of competitors that participate in the sport event
associated with the current instancepublic SportSummary getSport()
SportSummary instance representing the sport associated with the current instancegetSport in interface LongTermEventSportSummary instance representing the sport associated with the current instancepublic TournamentCoverage getTournamentCoverage()
TournamentCoverage instance which describes the associated tournament coverage informationgetTournamentCoverage in interface LongTermEventTournamentCoverage instance describing the tournament coverage informationpublic Urn getSportId()
getSportId in interface SportEventpublic String toString()
public Urn getId()
Urn uniquely identifying the tournament associated with the current instancegetId in interface SportEventUrn uniquely identifying the tournament associated with the current instanceCopyright © 2016–2025. All rights reserved.