public class BasicTournamentImpl extends Object implements BasicTournament, PreloadableEntity
| Constructor and Description | 
|---|
BasicTournamentImpl(Urn id,
                   Urn sportId,
                   List<Locale> locales,
                   SportEventCache sportEventCache,
                   SportEntityFactory sportEntityFactory,
                   ExceptionHandlingStrategy exceptionHandlingStrategy)
Initializes a new  
BasicTournamentImpl instance | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ensureSummaryIsFetchedForLanguages(List<Locale> languages,
                                  RequestOptions requestOptions)  | 
CategorySummary | 
getCategory()
Returns a  
CategorySummary representing the category associated with the current instance | 
List<Competitor> | 
getCompetitors()
Returns a  
List of competitors that participate in the sport event
 associated with the current instance | 
Urn | 
getId()
Returns an  
Urn uniquely identifying the tournament associated with the current instance | 
String | 
getName(Locale locale)
Returns the name of the current long term event translated to the specified language 
 | 
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 tournament | 
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 | 
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 | 
Boolean | 
isExhibitionGames()
Returns the  
Boolean specifying if the tournament is exhibition game | 
Boolean | 
isStartTimeTbd()
Returns the  
Boolean specifying if the start time to be determined is set for the current instance | 
String | 
toString()
Returns a  
String describing the current Tournament instance | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic BasicTournamentImpl(Urn id, Urn sportId, List<Locale> locales, SportEventCache sportEventCache, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy)
BasicTournamentImpl instanceid - an Urn uniquely identifying the tournament associated with the current instancesportId - an Urn identifying the sport to which the tournament belongslocales - a List of all languages for this instancesportEntityFactory - a SportEntityFactory instance used to construct Competition instancesexceptionHandlingStrategy - the desired exception handling strategypublic String getName(Locale locale)
getName in interface SportEventlocale - - a Locale specifying in which language the name should be returnedpublic 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 CategorySummary getCategory()
CategorySummary representing the category associated with the current instancegetCategory in interface BasicTournamentCategorySummary representing the category associated with the current instancepublic List<Competitor> getCompetitors()
List of competitors that participate in the sport event
 associated with the current instancegetCompetitors in interface BasicTournamentList of competitors that participate in the sport event
 associated with the current instancepublic Boolean isExhibitionGames()
Boolean specifying if the tournament is exhibition gameisExhibitionGames in interface BasicTournamentBoolean specifying if the tournament is exhibition gamepublic 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 List<Competition> getSchedule()
List of events that belong to the associated tournamentgetSchedule in interface BasicTournamentList of events that belong to the associated tournamentpublic String toString()
String describing the current Tournament instancetoString in class ObjectString describing the current Tournament instancepublic void ensureSummaryIsFetchedForLanguages(List<Locale> languages, RequestOptions requestOptions)
ensureSummaryIsFetchedForLanguages in interface PreloadableEntitypublic 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.