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

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

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

Store station info for Export.


Field Summary
protected  java.util.List channels
           
protected  Btime endEffTime
           
protected  java.lang.String networkCode
           
protected  java.lang.String ownerCode
           
protected  java.lang.String siteName
           
protected  Btime startEffTime
           
protected  java.lang.String stationName
           
 
Constructor Summary
BasicExportBuilder.StationInfo(Blockette blk)
          Creates the station information from the blockette.
 
Method Summary
 void addChannel(BasicExportBuilder.ChannelInfo channelInfo)
          Adds the channel to the list.
 BasicExportBuilder.ChannelInfo getChannel(int index)
          Gets the channel.
 int getNumChannels()
          Gets the number of channels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stationName

protected final java.lang.String stationName

siteName

protected final java.lang.String siteName

ownerCode

protected final java.lang.String ownerCode

networkCode

protected final java.lang.String networkCode

startEffTime

protected final Btime startEffTime

endEffTime

protected final Btime endEffTime

channels

protected final java.util.List channels
Constructor Detail

BasicExportBuilder.StationInfo

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

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

addChannel

public void addChannel(BasicExportBuilder.ChannelInfo channelInfo)
Adds the channel to the list.

Parameters:
channelInfo - the ChannelInfo.

getNumChannels

public int getNumChannels()
Gets the number of channels.

Returns:
the number of channels.

getChannel

public BasicExportBuilder.ChannelInfo getChannel(int index)
Gets the channel.

Parameters:
index - the index.
Returns:
the ChannelInfo or null if none.