Class EventNetworkPair

java.lang.Object
All Implemented Interfaces:
java.lang.Runnable

public class EventNetworkPair
extends AbstractEventPair
  • Constructor Details

    • EventNetworkPair

      protected EventNetworkPair()
      for hibernate
    • EventNetworkPair

      public EventNetworkPair​(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Network net)
    • EventNetworkPair

      public EventNetworkPair​(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Network net, 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
    • getNetworkDbId

      public int getNetworkDbId()
    • getNetwork

      public edu.sc.seis.seisFile.fdsnws.stationxml.Network getNetwork()
    • setNetwork

      protected void setNetwork​(edu.sc.seis.seisFile.fdsnws.stationxml.Network attr)
      for use by hibernate