public class SportImpl extends SportSummaryImpl implements Sport
Constructor and Description |
---|
SportImpl(Urn id,
Map<Locale,String> names,
List<Category> categories)
Initializes a new instance of
SportImpl |
Modifier and Type | Method and Description |
---|---|
List<Category> |
getCategories()
Returns an unmodifiable
List representing categories
which belong to the sport represented by the current instance |
String |
toString()
|
getId, getName, getNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, getName, getNames
public List<Category> getCategories()
List
representing categories
which belong to the sport represented by the current instancegetCategories
in interface Sport
List
representing categories
which belong to the sport represented by the current instancepublic String toString()
toString
in class SportSummaryImpl
String
describing the current Sport
instanceCopyright © 2016–2025. All rights reserved.