public interface IEnumeratedMetaData extends IMetaData
IMetaData.
Handles the mapping from enumeration integers to state strings.
IMetaData,
IEnumeratedValue| Modifier and Type | Method and Description |
|---|---|
String |
getState(int state)
Convenience routine for getting a state string.
|
String[] |
getStates()
Obtain the state strings.
|
String[] getStates()
The array element i represents state number i.
null.String getState(int state)
Also allows getting undefined states. Applications that want to specifically handle undefined states should use
getStates() instead.
state - The state to get.Copyright © 2023 European Spallation Source. All rights reserved.