public class OrgProgramRestrictionEnumerator extends Object implements Enumerator, Serviceable, Configurable
OdfProgramRestriction
sModifier and Type | Field and Description |
---|---|
protected boolean |
_mandatory
True if a value must be selected, false to allow the empty value.
|
protected OdfProgramRestrictionManager |
_odfProgramRestrictionManager
Odf program restriction manager
|
Constructor and Description |
---|
OrgProgramRestrictionEnumerator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
void |
service(ServiceManager smanager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfiguration
protected OdfProgramRestrictionManager _odfProgramRestrictionManager
protected boolean _mandatory
public OrgProgramRestrictionEnumerator()
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<Object,I18nizableText> getEntries() throws Exception
Enumerator
getEntries
in interface Enumerator
Exception
- if an error occurs.public I18nizableText getEntry(String value) throws Exception
Enumerator
getEntry
in interface Enumerator
value
- the value.null
if not found.Exception
- if an error occurs.