Class EventChannelPair
java.lang.Object
edu.sc.seis.sod.hibernate.eventpair.WaveformWorkUnit
edu.sc.seis.sod.hibernate.eventpair.AbstractEventPair
edu.sc.seis.sod.hibernate.eventpair.CookieEventPair
edu.sc.seis.sod.hibernate.eventpair.AbstractEventChannelPair
edu.sc.seis.sod.hibernate.eventpair.EventChannelPair
- All Implemented Interfaces:
java.lang.Runnable
public class EventChannelPair extends AbstractEventChannelPair
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BIG_ERROR_MSG
Fields inherited from class edu.sc.seis.sod.hibernate.eventpair.WaveformWorkUnit
dbid, failLogger, lastQuery, numRetries
-
Constructor Summary
Constructors Modifier Constructor Description protected
EventChannelPair()
for hibernateEventChannelPair(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, EventStationPair esp)
EventChannelPair(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.sod.model.status.Status status, EventStationPair esp)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
edu.sc.seis.seisFile.fdsnws.stationxml.Channel
getChannel()
int
getChannelDbId()
int
hashCode()
void
run()
protected void
setChannel(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan)
for use by hibernatejava.lang.String
toString()
Methods inherited from class edu.sc.seis.sod.hibernate.eventpair.AbstractEventChannelPair
getCookieJar, getEsp, setEsp, update
Methods inherited from class edu.sc.seis.sod.hibernate.eventpair.CookieEventPair
getMeasurements, getMeasurementsStr, setMeasurementsStr, setStatus
Methods inherited from class edu.sc.seis.sod.hibernate.eventpair.AbstractEventPair
addStatusNotify, getEvent, getEventDbId, getStatus, setEvent, update
Methods inherited from class edu.sc.seis.sod.hibernate.eventpair.WaveformWorkUnit
getDbid, getLastQuery, getNumRetries, setDbid, setLastQuery, setNumRetries, updateRetries
-
Field Details
-
BIG_ERROR_MSG
public static final java.lang.String BIG_ERROR_MSG
-
-
Constructor Details
-
EventChannelPair
protected EventChannelPair()for hibernate -
EventChannelPair
public EventChannelPair(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, EventStationPair esp) -
EventChannelPair
public EventChannelPair(edu.sc.seis.sod.model.event.StatefulEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.sod.model.status.Status status, EventStationPair esp)
-
-
Method Details
-
run
public void run() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classWaveformWorkUnit
-
hashCode
public int hashCode()- Overrides:
hashCode
in classWaveformWorkUnit
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getChannelDbId
public int getChannelDbId() -
getChannel
public edu.sc.seis.seisFile.fdsnws.stationxml.Channel getChannel() -
setChannel
protected void setChannel(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan)for use by hibernate
-