edu.iris.Fissures.seed.builder
Class BasicExportBuilder.EventInfo
java.lang.Object
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.
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 |
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
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.
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.