Class EventStationPair

All Implemented Interfaces:
java.lang.Runnable

public class EventStationPair
extends CookieEventPair
  • Constructor Details

    • EventStationPair

      protected EventStationPair()
      for hibernate
    • EventStationPair

      public EventStationPair​(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Station station)
    • EventStationPair

      public EventStationPair​(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Station station, edu.sc.seis.sod.model.status.Status status)
  • Method Details

    • run

      public void run()
    • update

      public void update​(edu.sc.seis.sod.model.status.Status status)
      sets the status on this event network pair to be status and notifies its parent
      Specified by:
      update in class AbstractEventPair
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class WaveformWorkUnit
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class WaveformWorkUnit
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getStationDbId

      public int getStationDbId()
    • getStation

      public edu.sc.seis.seisFile.fdsnws.stationxml.Station getStation()
    • setStation

      protected void setStation​(edu.sc.seis.seisFile.fdsnws.stationxml.Station sta)
      for use by hibernate