edu.sc.seis.fissuresUtil.dataset
Class DataSetEventOrganizer

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.dataset.TopLevelOrganizer
      extended by edu.sc.seis.fissuresUtil.dataset.DataSetEventOrganizer
All Implemented Interfaces:
Organizer, StdDataSetParamNames

public class DataSetEventOrganizer
extends TopLevelOrganizer
implements StdDataSetParamNames

DataSetEventOrganizer.java Created: Tue Jul 16 15:09:32 2002


Field Summary
 
Fields inherited from class edu.sc.seis.fissuresUtil.dataset.TopLevelOrganizer
listenerList
 
Fields inherited from interface edu.sc.seis.fissuresUtil.xml.StdDataSetParamNames
CHANNEL, EVENT, prefix
 
Constructor Summary
DataSetEventOrganizer()
           
DataSetEventOrganizer(DataSet root)
           
 
Method Summary
static void addChannel(edu.iris.Fissures.IfNetwork.Channel channel, DataSet dataSet, edu.iris.Fissures.AuditInfo[] audit)
           
 void addChannel(edu.iris.Fissures.IfNetwork.Channel channel, edu.iris.Fissures.IfEvent.EventAccessOperations event, edu.iris.Fissures.AuditInfo[] audit)
          it checks for a dataset which already has cacheEvent as a parameter, if it finds such a dataset, adds the Channel to that dataset, else creates a new dataset, adds the event, Channel to the newly created dataset.
 void addSeismogram(DataSetSeismogram seis, edu.iris.Fissures.IfEvent.EventAccessOperations event, edu.iris.Fissures.AuditInfo[] audit)
           
protected  DataSet makeSubDataSet(edu.iris.Fissures.IfEvent.EventAccessOperations event, DataSet rootDataSet)
           
protected  boolean nameExists(java.lang.String name, java.lang.String[] existing)
           
 
Methods inherited from class edu.sc.seis.fissuresUtil.dataset.TopLevelOrganizer
addChannel, addDataSet, addDataSet, addDataSetChangeListener, addSeismogram, addSeismogram, fireDataSetAdded, fireDataSetChanged, fireDataSetRemoved, getNoEarthquakeDataSet, getRootDataSet, removeDataSetChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetEventOrganizer

public DataSetEventOrganizer()

DataSetEventOrganizer

public DataSetEventOrganizer(DataSet root)
Method Detail

addSeismogram

public void addSeismogram(DataSetSeismogram seis,
                          edu.iris.Fissures.IfEvent.EventAccessOperations event,
                          edu.iris.Fissures.AuditInfo[] audit)
Specified by:
addSeismogram in interface Organizer
Overrides:
addSeismogram in class TopLevelOrganizer

addChannel

public void addChannel(edu.iris.Fissures.IfNetwork.Channel channel,
                       edu.iris.Fissures.IfEvent.EventAccessOperations event,
                       edu.iris.Fissures.AuditInfo[] audit)
it checks for a dataset which already has cacheEvent as a parameter, if it finds such a dataset, adds the Channel to that dataset, else creates a new dataset, adds the event, Channel to the newly created dataset.

Specified by:
addChannel in interface Organizer
Overrides:
addChannel in class TopLevelOrganizer
Parameters:
cacheEvent - a CacheEvent value
channel - a Channel value

addChannel

public static void addChannel(edu.iris.Fissures.IfNetwork.Channel channel,
                              DataSet dataSet,
                              edu.iris.Fissures.AuditInfo[] audit)

makeSubDataSet

protected DataSet makeSubDataSet(edu.iris.Fissures.IfEvent.EventAccessOperations event,
                                 DataSet rootDataSet)

nameExists

protected boolean nameExists(java.lang.String name,
                             java.lang.String[] existing)