Package gov.usgs.earthquake.qdm
Interface EQEvent
public interface EQEvent
Interface EQEvent methods to get EQ information.
-
Method Details
-
isAuthor
boolean isAuthor()- Returns:
- true if the event is authoritative
-
getNetID
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
String getEventID()- Returns:
- event ID
-
getEventIDKey
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
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)
-