public class MonthEnumerator extends Object implements Enumerator, Serviceable, Component
| Modifier and Type | Field and Description |
|---|---|
private static String |
__CATALOGUE |
private static Map<Object,I18nizableText> |
__MONTHS |
protected I18nUtils |
_i18nUtils
i18n utils
|
static String |
ROLE
Avalon Role
|
| Constructor and Description |
|---|
MonthEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
String |
getLabel(String code,
String language)
Get the translated label for the given code
|
void |
service(ServiceManager manager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationprivate static final String __CATALOGUE
private static final Map<Object,I18nizableText> __MONTHS
protected I18nUtils _i18nUtils
public MonthEnumerator()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<Object,I18nizableText> getEntries()
EnumeratorgetEntries in interface Enumeratorpublic I18nizableText getEntry(String value)
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.