Package org.epics.pvdata.pv
Interface StandardPVField
-
public interface StandardPVField- Author:
- mrk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PVStructureenumerated(String[] choices)Create a PVStructure with an enumerated value fieldPVStructureenumerated(String[] choices, String properties)Create a PVStructure with an enumerated value fieldPVStructurescalar(ScalarType type, String properties)Create a PVStructure with a scalar value field.PVStructurescalarArray(ScalarType elementType, String properties)Create a PVStructure with a scalarArray value field.PVStructurestructureArray(Structure structure, String properties)Create a PVStructure with a structureArray value field.
-
-
-
Method Detail
-
scalar
PVStructure scalar(ScalarType type, String properties)
Create a PVStructure with a scalar value field.- Parameters:
type- The scalarTypeproperties- the list of additional properties, which is some combination of the strings alarm, timeStamp, display, control and valueAlarm separated by commas- Returns:
- the PVStructure with fields value plus the specified properties
-
scalarArray
PVStructure scalarArray(ScalarType elementType, String properties)
Create a PVStructure with a scalarArray value field.- Parameters:
elementType- the scalarType for each element.properties- the list of additional properties, which is some combination of the strings alarm, timeStamp, display, control and valueAlarm separated by commas- Returns:
- the PVStructure with fields value plus the specified properties.
-
structureArray
PVStructure structureArray(Structure structure, String properties)
Create a PVStructure with a structureArray value field.- Parameters:
properties- Some combination of alarm,timeStamp the list of additional properties, which is some combination of the strings alarm and timeStamp separated by commasstructure- the Structure of the StructureArray value field- Returns:
- The PVStructure with fields value plus the specified properties.
-
enumerated
PVStructure enumerated(String[] choices)
Create a PVStructure with an enumerated value field- Parameters:
choices- the array of choices.- Returns:
- the PVStructure with field value and choices field containing the supplied choices
-
enumerated
PVStructure enumerated(String[] choices, String properties)
Create a PVStructure with an enumerated value field- Parameters:
choices- the array of choices.properties- the list of additional properties, which is some combination of the strings alarm and timeStamp separated by commas- Returns:
- the PVStructure with field value with choices field containing the supplied choices, plus the specified properties
-
-