net.aerith.misao.xml
Class ObservationRecord

java.lang.Object
  |
  +--net.aerith.misao.xml.ObservationRecord

public class ObservationRecord
extends java.lang.Object

The ObservationRecord is a set of XmlMagRecord and XmlPositionRecord.


Field Summary
protected  XmlMagRecord mag_record
          The magnitude record.
protected  XmlPositionRecord position_record
          The position record.
 
Constructor Summary
ObservationRecord(XmlMagRecord mag_record, XmlPositionRecord position_record)
          Construct an ObservationRecord.
 
Method Summary
 XmlMagRecord getMagRecord()
          Gets the magnitude record.
 XmlPositionRecord getPositionRecord()
          Gets the position record.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mag_record

protected XmlMagRecord mag_record
The magnitude record.

position_record

protected XmlPositionRecord position_record
The position record.
Constructor Detail

ObservationRecord

public ObservationRecord(XmlMagRecord mag_record,
                         XmlPositionRecord position_record)
Construct an ObservationRecord.
Parameters:
mag_record - the magnitude record.
position_record - the position record.
Method Detail

getMagRecord

public XmlMagRecord getMagRecord()
Gets the magnitude record.
Returns:
the magnitude record.

getPositionRecord

public XmlPositionRecord getPositionRecord()
Gets the position record.
Returns:
the position record.