|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEnumeratedValue
An enumerated value.
Enumerated types carry a limited number of integer values, where each possible value represents a state with a string representation.
IEnumeratedValue values go with IEnumeratedMetaData
IValue,
EnumeratedMetaData| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.csstudio.data.values.IValue |
|---|
IValue.Format, IValue.Quality |
| Method Summary | |
|---|---|
IEnumeratedMetaData |
getMetaData()
Meta Data that helps with using the value, mostly for formatting. |
int |
getValue()
|
int[] |
getValues()
|
| Methods inherited from interface org.csstudio.data.values.IValue |
|---|
format, format, getQuality, getSeverity, getStatus, getTime |
| Method Detail |
|---|
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()
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 IValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||