public interface IEEnum
The interface for each inherited enumeration type. The abstract
method of description returns a non null java.lang.String
value. This
is the super interface for all derivated enumerations.
It has different abstract beans for getting and setting the corresponding
EName
enumeration.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName(EName description_)
Returns according to the enumeration of the description the corresponding
string value.
|
void |
putName(EName description_,
java.lang.String name_)
Sets to the according enumeration the string value of the corresponding
element.
|
java.lang.String getName(EName description_) throws EnumerationNotUsedException
null
value
is returned, except the enumeration of ID
which will always
return a value.description_
- The corresponding enumeration type which you wanted
to get. For more information see at the EName
enumeration.EnumerationNotUsedException
- If the enumeration indeed exists but
is not used these exception is thrown.void putName(EName description_, java.lang.String name_) throws EnumerationNotUsedException
description_
- Is the EName enumeration one wants to set.name_
- Is the name of the string value. This can also be
null.EnumerationNotUsedException
- Is thrown if the enumeration is known
but not used.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft