Interface TournamentInfo
public interface TournamentInfo
Defines methods implemented by classes providing data of a tournament
-
Method Summary
Modifier and TypeMethodDescriptionReturns aCategorySummaryrepresenting the category associated with the current instanceReturns aCurrentSeasonInfowhich contains data about the season in which the current tournament is happeninggetId()Returns theUrnuniquely identifying the tournamentReturns the name of the tournament in the specified languagegetNames()
-
Method Details
-
getId
Urn getId()Returns theUrnuniquely identifying the tournament- Returns:
- - the
Urnuniquely identifying the tournament
-
getName
Returns the name of the tournament in the specified language- Parameters:
locale- - aLocalespecifying the language of the returned name- Returns:
- - the name of the tournament in the specified language
-
getNames
-
getCategory
CategorySummary getCategory()Returns aCategorySummaryrepresenting the category associated with the current instance- Returns:
- - a
CategorySummaryrepresenting the category associated with the current instance
-
getCurrentSeason
CurrentSeasonInfo getCurrentSeason()Returns aCurrentSeasonInfowhich contains data about the season in which the current tournament is happening- Returns:
- - a
CurrentSeasonInfowhich provides data about the season in which the current tournament is happening
-