gov.sns.ca
Class ChannelStatusRecord

java.lang.Object
  |
  +--gov.sns.ca.ChannelRecord
        |
        +--gov.sns.ca.ChannelStatusRecord
Direct Known Subclasses:
ChannelTimeRecord

public class ChannelStatusRecord
extends ChannelRecord

ChannelStatusRecord is a wrapper for channel data that has a value along with status information.


Field Summary
protected  int severity
           
protected  int status
           
 
Fields inherited from class gov.sns.ca.ChannelRecord
store
 
Constructor Summary
ChannelStatusRecord(StatusAdaptor adaptor)
          Creates new ChannelStatusRecord
 
Method Summary
 int severity()
          Get the internal severity code for this data.
 int status()
          Get the internal status code for this data.
 java.lang.String toString()
          Override the inherited method to return a description of this object.
 
Methods inherited from class gov.sns.ca.ChannelRecord
byteArray, byteValue, byteValueAt, doubleArray, doubleValue, doubleValueAt, floatArray, floatValue, floatValueAt, getCount, getType, intArray, intValue, intValueAt, shortArray, shortValue, shortValueAt, stringArray, stringValue, stringValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

status

protected int status

severity

protected int severity
Constructor Detail

ChannelStatusRecord

public ChannelStatusRecord(StatusAdaptor adaptor)
Creates new ChannelStatusRecord

Method Detail

status

public int status()
Get the internal status code for this data.

Returns:
the status code for this data.

severity

public int severity()
Get the internal severity code for this data.

Returns:
the severity code for this data.

toString

public java.lang.String toString()
Override the inherited method to return a description of this object.

Overrides:
toString in class ChannelRecord
Returns:
A description of this object.