public class SportSummaryImpl extends Object implements SportSummary
Modifier and Type | Method and Description |
---|---|
Urn |
getId()
Returns an
Urn uniquely identifying the sport represented by the current instance |
String |
getName(Locale l)
Returns the name of the current
SportSummary instance in the specified language |
Map<Locale,String> |
getNames()
Returns an unmodifiable
Map containing translated sport names |
String |
toString()
Returns a
String describing the current SportSummary instance |
public Urn getId()
Urn
uniquely identifying the sport represented by the current instancegetId
in interface SportSummary
Urn
uniquely identifying the sport represented by the current instancepublic String getName(Locale l)
SportSummary
instance in the specified languagegetName
in interface SportSummary
l
- - a Locale
specifying the language in which the name should be translatedSportSummary
instance in the specified languagepublic Map<Locale,String> getNames()
Map
containing translated sport namesgetNames
in interface SportSummary
Map
containing translated sport namespublic String toString()
String
describing the current SportSummary
instancetoString
in class Object
String
describing the current SportSummary
instanceCopyright © 2016–2025. All rights reserved.