edu.iris.Fissures.seed.builder
Class BasicExportBuilder.EventInfo

java.lang.Object
  extended by edu.iris.Fissures.seed.builder.BasicExportBuilder.EventInfo
Enclosing class:
BasicExportBuilder

protected static class BasicExportBuilder.EventInfo
extends java.lang.Object

Store optional event info for export.


Field Summary
protected  Blockette blk
           
protected  java.lang.Number depth
           
protected  java.lang.Number latitude
           
protected  int location
           
protected  java.lang.Number longitude
           
protected  int numMags
           
protected  Btime originTime
           
protected  int region
           
protected  java.lang.String sourceCode
           
 
Constructor Summary
BasicExportBuilder.EventInfo(Blockette blk)
          Creates the event information from the blockette.
 
Method Summary
 java.lang.Number getMagnitude(java.lang.String magType)
          Gets the magnitude for the specified magnitude type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blk

protected final Blockette blk

originTime

protected final Btime originTime

sourceCode

protected final java.lang.String sourceCode

latitude

protected final java.lang.Number latitude

longitude

protected final java.lang.Number longitude

depth

protected final java.lang.Number depth

numMags

protected final int numMags

region

protected final int region

location

protected final int location
Constructor Detail

BasicExportBuilder.EventInfo

public BasicExportBuilder.EventInfo(Blockette blk)
                             throws java.lang.Exception
Creates the event information from the blockette.

Parameters:
blk - the Blockette.
Throws:
java.lang.Exception - if error.
Method Detail

getMagnitude

public java.lang.Number getMagnitude(java.lang.String magType)
Gets the magnitude for the specified magnitude type.

Parameters:
magType - the magnitude type.
Returns:
the magnitude or null if none.