Package gov.usgs.earthquake.qdm
Interface EQEvent
-
public interface EQEventInterface EQEvent methods to get EQ information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description chargetCUBEMagnitudeType()The CUBE Magnitude type code.double[]getDirCos()Gets the event direction cosines.java.lang.StringgetEventID()java.lang.StringgetEventIDKey()doublegetLatitude()doublegetLongitude()doublegetMagnitude()java.lang.StringgetNetID()PointgetPoint()java.util.DategetTime()booleangetTrump()booleanisAuthor()
-
-
-
Method Detail
-
isAuthor
boolean isAuthor()
- Returns:
- true if the event is authoritative
-
getNetID
java.lang.String getNetID()
- Returns:
- the event network ID in lower case
-
getDirCos
double[] getDirCos()
Gets the event direction cosines.- Returns:
- 3 direction cosines or null if not calculated
-
getEventID
java.lang.String getEventID()
- Returns:
- event ID
-
getEventIDKey
java.lang.String getEventIDKey()
- Returns:
- event ID Key which is a combination of the network ID and the event ID.
-
getLatitude
double getLatitude()
- Returns:
- the event latitude
-
getPoint
Point getPoint()
- Returns:
- the event longitude/latitude as a point
-
getLongitude
double getLongitude()
- Returns:
- the event longitude
-
getMagnitude
double getMagnitude()
- Returns:
- the event magnitude
-
getCUBEMagnitudeType
char getCUBEMagnitudeType()
The CUBE Magnitude type code.- Returns:
- the event magnitude type
-
getTime
java.util.Date getTime()
- Returns:
- the event time
-
getTrump
boolean getTrump()
- Returns:
- true if the event should trump other events (if for example the event is a verified event)
-
-