public class PVFieldToVStringArray extends AlarmTimeDisplayExtractor implements VStringArray
convert, format, lowerAlarmLimit, lowerCtrlLimit, lowerDisplayLimit, lowerWarningLimit, units, upperAlarmLimit, upperCtrlLimit, upperDisplayLimit, upperWarningLimit
alarmSeverity, alarmSeverityMapLUT, alarmStatus, alarmStatusMapLUT, isTimeValid, timeStamp, timeUserTag
Constructor and Description |
---|
PVFieldToVStringArray(org.epics.pvdata.pv.PVField field,
org.epics.pvdata.pv.PVStructure pvParent,
boolean disconnected) |
PVFieldToVStringArray(org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected) |
PVFieldToVStringArray(String fieldName,
org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getData()
Return the object containing the array data.
|
org.epics.util.array.ListInt |
getSizes()
The shape of the multidimensional array.
|
String |
toString() |
getDoubleValue, getFormat, getLowerAlarmLimit, getLowerCtrlLimit, getLowerDisplayLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDisplayLimit, getUpperWarningLimit
getAlarmName, getAlarmSeverity, getTimestamp, getTimeUserTag, isTimeValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlarmName, getAlarmSeverity
getTimestamp, getTimeUserTag, isTimeValid
public PVFieldToVStringArray(org.epics.pvdata.pv.PVStructure pvField, boolean disconnected)
public PVFieldToVStringArray(String fieldName, org.epics.pvdata.pv.PVStructure pvField, boolean disconnected)
public PVFieldToVStringArray(org.epics.pvdata.pv.PVField field, org.epics.pvdata.pv.PVStructure pvParent, boolean disconnected)
public org.epics.util.array.ListInt getSizes()
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.
public List<String> getData()
Array
This method will either return a List
or a ListNumber
depending of the array type. A collection is returned, instead of an
array, so that the type implementation can be immutable or can at
least try to prevent modifications. ListNumber has also several
advantages over the Java arrays, including the ability to iterate the list
regardless of numeric type.
If a numeric array is actually needed, refer to CollectionNumbers
.
getData
in interface Array
getData
in interface VStringArray
Copyright © 2010–2015. All rights reserved.