Interface SportSummary
- All Known Subinterfaces:
Sport
- All Known Implementing Classes:
SportImpl,SportSummaryImpl
public interface SportSummary
Defines methods implemented by classes representing a sport
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns anUrnuniquely identifying the sport represented by the current instanceReturns the name of the currentSportSummaryinstance in the specified languagegetNames()Returns an unmodifiableMapcontaining translated sport names
-
Method Details
-
getId
Urn getId()Returns anUrnuniquely identifying the sport represented by the current instance- Returns:
- - an
Urnuniquely identifying the sport represented by the current instance
-
getName
Returns the name of the currentSportSummaryinstance in the specified language- Parameters:
l- - aLocalespecifying the language in which the name should be translated- Returns:
- - the name of the current
SportSummaryinstance in the specified language
-
getNames
Returns an unmodifiableMapcontaining translated sport names- Returns:
- - an unmodifiable
Mapcontaining translated sport names
-