public interface IEnumeratedValue extends IValue
Enumerated types carry a limited number of integer values, where each possible value represents a state with a string representation.
IEnumeratedValue values go with EnumeratedMetaData
IValue,
EnumeratedMetaDataIValue.Format| Modifier and Type | Method and Description |
|---|---|
IEnumeratedMetaData |
getMetaData()
Meta Data that helps with using the value, mostly for formatting.
|
int |
getValue() |
int[] |
getValues() |
int[] getValues()
int getValue()
Since most values are probably scalars, this is a convenient way to get that one and only element.
getValues()IEnumeratedMetaData getMetaData()
IValue
It might be OK for some value types to only have null MetaData, while others might require a
specific one like NumericMetaData.
getMetaData in interface IValueCopyright © 2023 European Spallation Source. All rights reserved.