public class ModeEnumerator extends Object implements Enumerator
| Modifier and Type | Field and Description | 
|---|---|
private static String | 
__CATALOGUE  | 
private static Map<Object,I18nizableText> | 
__MODES  | 
| Constructor and Description | 
|---|
ModeEnumerator()  | 
| 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. 
 | 
private static final String __CATALOGUE
private static final Map<Object,I18nizableText> __MODES
public ModeEnumerator()
public Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.public I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.