com.isti.quakewatch.message
Class QWStationAmpMsgRecord.AmplitudeRecord

java.lang.Object
  extended by com.isti.quakewatch.message.QWStationAmpMsgRecord.AmplitudeRecord
Enclosing class:
QWStationAmpMsgRecord

public static class QWStationAmpMsgRecord.AmplitudeRecord
extends java.lang.Object

Class AmplitudeRecord contains a record of amplitude information.


Field Summary
 java.util.Date ampTimeObj
           
 java.lang.String ampUnitsStr
           
 java.lang.Double ampValueObj
           
 java.lang.String ampValueStr
           
 java.lang.String compLocStr
           
 java.lang.String compNameStr
           
static QWStationAmpMsgRecord.AmplitudeRecord emptyAmpCompInfoObj
          Empty amplitude information object.
 int timeOffsMs
           
 
Constructor Summary
QWStationAmpMsgRecord.AmplitudeRecord()
          Creates an empty amplitude record object.
QWStationAmpMsgRecord.AmplitudeRecord(java.lang.Double ampValueObj, int timeOffsMs, java.util.Date ampTimeObj, java.lang.String ampUnitsStr, java.lang.String compNameStr, java.lang.String compLocStr)
          Creates an amplitude record.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 boolean equals(QWStationAmpMsgRecord.AmplitudeRecord ampRecObj)
          Indicates whether some other object is "equal to" this one.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ampValueObj

public final java.lang.Double ampValueObj

ampValueStr

public final java.lang.String ampValueStr

timeOffsMs

public final int timeOffsMs

ampTimeObj

public final java.util.Date ampTimeObj

ampUnitsStr

public final java.lang.String ampUnitsStr

compNameStr

public final java.lang.String compNameStr

compLocStr

public final java.lang.String compLocStr

emptyAmpCompInfoObj

public static final QWStationAmpMsgRecord.AmplitudeRecord emptyAmpCompInfoObj
Empty amplitude information object.

Constructor Detail

QWStationAmpMsgRecord.AmplitudeRecord

public QWStationAmpMsgRecord.AmplitudeRecord(java.lang.Double ampValueObj,
                                             int timeOffsMs,
                                             java.util.Date ampTimeObj,
                                             java.lang.String ampUnitsStr,
                                             java.lang.String compNameStr,
                                             java.lang.String compLocStr)
Creates an amplitude record.

Parameters:
ampValueObj - amplitude value.
timeOffsMs - time offset for amplitude, in milliseconds.
ampTimeObj - time value for amplitude.
ampUnitsStr - units string for amplitude, or null for none.
compNameStr - component name for amplitude.
compLocStr - component location for amplitude, or null for none.

QWStationAmpMsgRecord.AmplitudeRecord

public QWStationAmpMsgRecord.AmplitudeRecord()
Creates an empty amplitude record object.

Method Detail

equals

public boolean equals(QWStationAmpMsgRecord.AmplitudeRecord ampRecObj)
Indicates whether some other object is "equal to" this one.

Parameters:
ampRecObj - the reference object with which to compare.
Returns:
true if this object is equal to the obj argument; false otherwise.

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is equal to the obj argument; false otherwise.