public class CategorySummaryImpl extends Object implements CategorySummary
| Constructor and Description |
|---|
CategorySummaryImpl(Urn id,
Map<Locale,String> names,
String countryCode)
Initializes a new instance of the
CategorySummaryImpl |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountryCode()
Returns a
String representation of a country code |
Urn |
getId()
Returns an
Urn uniquely identifying the current CategorySummary instance |
String |
getName(Locale l)
Returns the current
CategorySummary instance name in the specified language |
Map<Locale,String> |
getNames()
Returns an unmodifiable
Map containing translated category name |
String |
toString()
Returns a
String describing the current CategorySummary instance |
public CategorySummaryImpl(Urn id, Map<Locale,String> names, String countryCode)
CategorySummaryImplid - - an Urn uniquely identifying the current CategorySummary instancenames - - a Map containing translated category namecountryCode - - a String representation of a country codepublic Urn getId()
Urn uniquely identifying the current CategorySummary instancegetId in interface CategorySummaryUrn uniquely identifying the current CategorySummary instancepublic String getName(Locale l)
CategorySummary instance name in the specified languagegetName in interface CategorySummaryl - - a Locale in which the name should be returnedOptionalpublic Map<Locale,String> getNames()
Map containing translated category namegetNames in interface CategorySummaryMap containing translated category namepublic String getCountryCode()
String representation of a country codegetCountryCode in interface CategorySummaryString representation of a country codepublic String toString()
String describing the current CategorySummary instancetoString in class ObjectString describing the current CategorySummary instanceCopyright © 2016–2025. All rights reserved.