Package org.epics.vtype
Class IVEnumArray
- java.lang.Object
-
- org.epics.vtype.VType
-
- org.epics.vtype.Array
-
- org.epics.vtype.VEnumArray
-
- org.epics.vtype.IVEnumArray
-
- All Implemented Interfaces:
AlarmProvider
,TimeProvider
public class IVEnumArray extends VEnumArray
ImmutableVEnumArray
implementation.- Author:
- carcassi, shroffk, kasemir
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alarm
getAlarm()
The alarm associated with this value.List<String>
getData()
Return the enum label valuesEnumDisplay
getDisplay()
org.epics.util.array.ListNumber
getIndexes()
Returns the indexes instead of the labels.org.epics.util.array.ListInteger
getSizes()
The shape of the multidimensional array.Time
getTime()
The time associated with this value.-
Methods inherited from class org.epics.vtype.VEnumArray
of, of
-
Methods inherited from class org.epics.vtype.VType
toVType, toVType, toVType, toVTypeChecked, toVTypeChecked, typeOf
-
-
-
-
Method Detail
-
getDisplay
public EnumDisplay getDisplay()
- Specified by:
getDisplay
in classVEnumArray
- Returns:
- the enum display information, i.e. choices
-
getAlarm
public Alarm getAlarm()
Description copied from interface:AlarmProvider
The alarm associated with this value.- Returns:
- the alarm; not null
-
getTime
public Time getTime()
Description copied from interface:TimeProvider
The time associated with this value.- Returns:
- the time; not null
-
getData
public List<String> getData()
Description copied from class:VEnumArray
Return the enum label values- Specified by:
getData
in classVEnumArray
- Returns:
- the array data
-
getIndexes
public org.epics.util.array.ListNumber getIndexes()
Description copied from class:VEnumArray
Returns the indexes instead of the labels.- Specified by:
getIndexes
in classVEnumArray
- Returns:
- an array of indexes
-
getSizes
public org.epics.util.array.ListInteger getSizes()
Description copied from class:Array
The shape of the multidimensional array.The size of the returned list will be the number of the dimension of the array. Each number represents the size of each dimension. The total number of elements in the array is therefore the product of all the numbers in the list returned.
-
-