Interface CurrentSeasonInfo
- All Known Implementing Classes:
CurrentSeasonInfoImpl
public interface CurrentSeasonInfo
Defines methods implemented by classes representing a tournament season
-
Method Summary
Modifier and TypeMethodDescriptionReturns aListof competitors that participate in the sport event associated with the current instanceReturns aSeasonCoverageinstance containing information about the available coverage for the associated seasonReturns aRoundinstance specifying the current season roundReturns theDatespecifying the end date of the seasonReturns aListof groups associated with the current seasongetId()Returns theUrnuniquely identifying the current seasonReturns the name of the season in the specified languagegetNames()Returns the name of the season in available localesReturns aListof events that belong to the associated seasonReturns theDatespecifying the start date of the seasongetYear()Returns theStringrepresentation the year of the season
-
Method Details
-
getId
Urn getId()Returns theUrnuniquely identifying the current season- Returns:
- - the
Urnuniquely identifying the current season
-
getNames
Returns the name of the season in available locales -
getName
Returns the name of the season in the specified language- Parameters:
locale- - aLocalespecifying the language of the returned name- Returns:
- - the name of the season in the specified language
-
getYear
String getYear()Returns theStringrepresentation the year of the season- Returns:
- - the
Stringrepresentation the year of the season
-
getStartDate
Date getStartDate()Returns theDatespecifying the start date of the season- Returns:
- - the
Datespecifying the start date of the season
-
getEndDate
Date getEndDate()Returns theDatespecifying the end date of the season- Returns:
- - the
Datespecifying the end date of the season
-
getCoverage
SeasonCoverage getCoverage()Returns aSeasonCoverageinstance containing information about the available coverage for the associated season- Returns:
- - a
SeasonCoverageinstance containing information about the available coverage
-
getGroups
Returns aListof groups associated with the current season- Returns:
- - a
Listof groups associated with the current season
-
getCurrentRound
Round getCurrentRound()Returns aRoundinstance specifying the current season round- Returns:
- - a
Roundinstance specifying the current season round
-
getCompetitors
List<Competitor> getCompetitors()Returns aListof competitors that participate in the sport event associated with the current instance- Returns:
- - a
Listof competitors that participate in the sport event associated with the current instance
-
getSchedule
List<Competition> getSchedule()Returns aListof events that belong to the associated season- Returns:
- - a
Listof events that belong to the associated season
-