public static class SystemProperty.EnumeratorDefinition extends Object
Modifier and Type | Field and Description |
---|---|
private Configuration |
_configuration |
private Class<? extends Enumerator> |
_enumeratorClass |
private boolean |
_isStatic |
private Map<String,I18nizableText> |
_staticEntries |
Constructor and Description |
---|
EnumeratorDefinition(Class<? extends Enumerator> enumeratorClass,
Configuration configuration)
Build a definition representing a dynamic Enumerator.
|
EnumeratorDefinition(Map<String,I18nizableText> staticEntries)
Build a definition representing a static Enumerator.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
Class<? extends Enumerator> |
getEnumeratorClass() |
Map<String,I18nizableText> |
getStaticEntries() |
boolean |
isStatic() |
private boolean _isStatic
private Class<? extends Enumerator> _enumeratorClass
private Configuration _configuration
private Map<String,I18nizableText> _staticEntries
public EnumeratorDefinition(Class<? extends Enumerator> enumeratorClass, Configuration configuration)
enumeratorClass
- The enumerator class.configuration
- The enumerator configuration.public EnumeratorDefinition(Map<String,I18nizableText> staticEntries)
staticEntries
- the enumerator entries.public boolean isStatic()
public Class<? extends Enumerator> getEnumeratorClass()
public Configuration getConfiguration()
public Map<String,I18nizableText> getStaticEntries()