Package xal.ca
Class ChannelStatusRecordImpl
java.lang.Object
xal.ca.ChannelRecordImpl
xal.ca.ChannelStatusRecordImpl
- All Implemented Interfaces:
ChannelRecord
,ChannelStatusRecord
- Direct Known Subclasses:
ChannelTimeRecordImpl
ChannelStatusRecord is a wrapper for channel data that has a value along with
status information.
- Author:
- tap
-
Field Summary
FieldsFields inherited from class xal.ca.ChannelRecordImpl
store
-
Constructor Summary
ConstructorsConstructorDescriptionChannelStatusRecordImpl
(StatusAdaptor adaptor) Creates new ChannelStatusRecord -
Method Summary
Methods inherited from class xal.ca.ChannelRecordImpl
applyTransform, arrayValue, byteArray, byteValue, byteValueAt, doubleArray, doubleValue, doubleValueAt, floatArray, floatValue, floatValueAt, getCount, getType, intArray, intValue, intValueAt, longArray, longValue, longValueAt, shortArray, shortValue, shortValueAt, stringArray, stringValue, stringValueAt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface xal.ca.ChannelRecord
applyTransform, arrayValue, byteArray, byteValue, byteValueAt, doubleArray, doubleValue, doubleValueAt, floatArray, floatValue, floatValueAt, getCount, getType, intArray, intValue, intValueAt, longArray, longValue, longValueAt, shortArray, shortValue, shortValueAt, stringArray, stringValue, stringValueAt
-
Field Details
-
status
protected int status -
severity
protected int severity
-
-
Constructor Details
-
ChannelStatusRecordImpl
Creates new ChannelStatusRecord- Parameters:
adaptor
- from which to create the record
-
-
Method Details
-
status
public int status()Get the internal status code for this data.- Specified by:
status
in interfaceChannelStatusRecord
- Returns:
- the status code for this data.
-
severity
public int severity()Get the internal severity code for this data.- Specified by:
severity
in interfaceChannelStatusRecord
- Returns:
- the severity code for this data.
-
toString
Override the inherited method to return a description of this object.- Specified by:
toString
in interfaceChannelRecord
- Overrides:
toString
in classChannelRecordImpl
- Returns:
- A description of this object.
-