public class CategoryImpl extends CategorySummaryImpl implements Category
Constructor and Description |
---|
CategoryImpl(Urn id,
Map<Locale,String> names,
List<SportEvent> tournaments,
String countryCode)
Initializes a new instance of the
CategoryImpl |
Modifier and Type | Method and Description |
---|---|
List<SportEvent> |
getTournaments()
Returns an unmodifiable
List of tournaments which belong to the category represented by the current instance
(possible types: BasicTournament , Tournament , Stage ) |
String |
toString()
|
getCountryCode, getId, getName, getNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCountryCode, getId, getName, getNames
public CategoryImpl(Urn id, Map<Locale,String> names, List<SportEvent> tournaments, String countryCode)
CategoryImpl
public List<SportEvent> getTournaments()
List
of tournaments which belong to the category represented by the current instance
(possible types: BasicTournament
, Tournament
, Stage
)getTournaments
in interface Category
List
of tournaments which belong to the category represented by the current instancepublic String toString()
toString
in class CategorySummaryImpl
String
describing the current Category
instanceCopyright © 2016–2025. All rights reserved.