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, stringValueAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
statusin interfaceChannelStatusRecord- Returns:
- the status code for this data.
-
severity
public int severity()Get the internal severity code for this data.- Specified by:
severityin interfaceChannelStatusRecord- Returns:
- the severity code for this data.
-
toString
Override the inherited method to return a description of this object.- Specified by:
toStringin interfaceChannelRecord- Overrides:
toStringin classChannelRecordImpl- Returns:
- A description of this object.
-