Interface SeasonInfo
- All Known Implementing Classes:
SeasonInfoImpl
public interface SeasonInfo
Defines methods implemented by classes providing season information about an entity (sport, category, season, ...)
-
Method Summary
Modifier and TypeMethodDescriptiondefault DateReturns theDatespecifying the end date of the seasongetId()Returns aUrnuniquely identifying the currentSeasonInfoinstanceReturns the name of the season in the specified languagegetNames()Returns an unmodifiableMapcontaining translated namesdefault DateReturns theDatespecifying the start date of the seasondefault UrnReturns the associated tournament identifierdefault StringgetYear()Returns theStringrepresentation the year of the season
-
Method Details
-
getId
Urn getId()Returns aUrnuniquely identifying the currentSeasonInfoinstance- Returns:
- - a
Urnuniquely identifying the currentSeasonInfoinstance
-
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
-
getNames
Returns an unmodifiableMapcontaining translated names- Returns:
- - an unmodifiable
Mapcontaining translated names
-
getStartDate
Returns theDatespecifying the start date of the season- Returns:
- - the
Datespecifying the start date of the season
-
getEndDate
Returns theDatespecifying the end date of the season- Returns:
- - the
Datespecifying the end date of the season
-
getYear
Returns theStringrepresentation the year of the season- Returns:
- - the
Stringrepresentation the year of the season
-
getTournamentId
Returns the associated tournament identifier- Returns:
- the associated tournament identifier
-