edu.sc.seis.sod
Class EventChannelPair

java.lang.Object
  extended by edu.sc.seis.sod.WaveformWorkUnit
      extended by edu.sc.seis.sod.AbstractEventPair
          extended by edu.sc.seis.sod.CookieEventPair
              extended by edu.sc.seis.sod.AbstractEventChannelPair
                  extended by edu.sc.seis.sod.EventChannelPair
All Implemented Interfaces:
java.lang.Runnable

public class EventChannelPair
extends AbstractEventChannelPair


Field Summary
static java.lang.String BIG_ERROR_MSG
           
 
Fields inherited from class edu.sc.seis.sod.AbstractEventChannelPair
esp
 
Fields inherited from class edu.sc.seis.sod.WaveformWorkUnit
dbid, failLogger, lastQuery, numRetries
 
Constructor Summary
protected EventChannelPair()
          for hibernate
  EventChannelPair(StatefulEvent event, ChannelImpl chan, EventStationPair esp)
           
  EventChannelPair(StatefulEvent event, ChannelImpl chan, Status status, EventStationPair esp)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 ChannelImpl getChannel()
           
 int getChannelDbId()
           
 int hashCode()
           
 void run()
           
protected  void setChannel(ChannelImpl chan)
          for use by hibernate
 java.lang.String toString()
           
 
Methods inherited from class edu.sc.seis.sod.AbstractEventChannelPair
getCookieJar, getEsp, setEsp, update
 
Methods inherited from class edu.sc.seis.sod.CookieEventPair
getCookies, setCookies, setStatus
 
Methods inherited from class edu.sc.seis.sod.AbstractEventPair
getEvent, getEventDbId, getStatus, setEvent, update
 
Methods inherited from class edu.sc.seis.sod.WaveformWorkUnit
getDbid, getLastQuery, getNumRetries, setDbid, setLastQuery, setNumRetries, updateRetries
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BIG_ERROR_MSG

public static final java.lang.String BIG_ERROR_MSG
See Also:
Constant Field Values
Constructor Detail

EventChannelPair

protected EventChannelPair()
for hibernate


EventChannelPair

public EventChannelPair(StatefulEvent event,
                        ChannelImpl chan,
                        EventStationPair esp)

EventChannelPair

public EventChannelPair(StatefulEvent event,
                        ChannelImpl chan,
                        Status status,
                        EventStationPair esp)
Method Detail

run

public void run()

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

getChannelDbId

public int getChannelDbId()

getChannel

public ChannelImpl getChannel()

setChannel

protected void setChannel(ChannelImpl chan)
for use by hibernate