Class FDSNEventQueryParams

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class FDSNEventQueryParams
    extends AbstractQueryParams
    implements java.lang.Cloneable
    Autogenerated by groovy FDSNQueryParamGenerator.groovy in src/metacode/groovy
    • Constructor Detail

      • FDSNEventQueryParams

        public FDSNEventQueryParams()
      • FDSNEventQueryParams

        public FDSNEventQueryParams​(java.lang.String host)
    • Method Detail

      • setStartTime

        public FDSNEventQueryParams setStartTime​(java.util.Date value)
        Limit to events on or after the specified start time.
      • setEndTime

        public FDSNEventQueryParams setEndTime​(java.util.Date value)
        Limit to events on or before the specified end time.
      • setMinLatitude

        public FDSNEventQueryParams setMinLatitude​(float value)
        Limit to events with a latitude larger than the specified minimum.
      • setMaxLatitude

        public FDSNEventQueryParams setMaxLatitude​(float value)
        Limit to events with a latitude smaller than the specified maximum.
      • setMinLongitude

        public FDSNEventQueryParams setMinLongitude​(float value)
        Limit to events with a longitude larger than the specified minimum.
      • setMaxLongitude

        public FDSNEventQueryParams setMaxLongitude​(float value)
        Limit to events with a longitude smaller than the specified maximum.
      • setLatitude

        public FDSNEventQueryParams setLatitude​(float value)
        Specify the latitude to be used for a radius search.
      • setLongitude

        public FDSNEventQueryParams setLongitude​(float value)
        Specify the longitude to the used for a radius search.
      • setMinRadius

        public FDSNEventQueryParams setMinRadius​(float value)
        Limit to events within the specified minimum number of degrees from the geographic point defined by the latitude and longitude parameters.
      • setMaxRadius

        public FDSNEventQueryParams setMaxRadius​(float value)
        Limit to events within the specified maximum number of degrees from the geographic point defined by the latitude and longitude parameters.
      • setMinDepth

        public FDSNEventQueryParams setMinDepth​(float value)
        Limit to events with depth more than the specified minimum.
      • setMaxDepth

        public FDSNEventQueryParams setMaxDepth​(float value)
        Limit to events with depth less than the specified maximum.
      • setMinMagnitude

        public FDSNEventQueryParams setMinMagnitude​(float value)
        Limit to events with a magnitude larger than the specified minimum.
      • setMaxMagnitude

        public FDSNEventQueryParams setMaxMagnitude​(float value)
        Limit to events with a magnitude smaller than the specified maximum.
      • setMagnitudeType

        public FDSNEventQueryParams setMagnitudeType​(java.lang.String value)
        Specify a magnitude type to use for testing the minimum and maximum limits.
      • setIncludeAllOrigins

        public FDSNEventQueryParams setIncludeAllOrigins​(boolean value)
        Specify if all origins for the event should be included, default is data center dependent but is suggested to be the preferred origin only.
      • setIncludeAllMagnitudes

        public FDSNEventQueryParams setIncludeAllMagnitudes​(boolean value)
        Specify if all magnitudes for the event should be included, default is data center dependent but is suggested to be the preferred magnitude only.
      • setIncludeArrivals

        public FDSNEventQueryParams setIncludeArrivals​(boolean value)
        Specify if phase arrivals should be included.
      • setEventid

        public FDSNEventQueryParams setEventid​(java.lang.String value)
        Select a specific event by ID; event identifiers are data center specific.
      • setLimit

        public FDSNEventQueryParams setLimit​(int value)
        Limit the results to the specified number of events.
      • setOffset

        public FDSNEventQueryParams setOffset​(int value)
        Return results starting at the event count specified, starting at 1.
      • setOrderBy

        public FDSNEventQueryParams setOrderBy​(java.lang.String value)
        Order the result by time or magnitude with the following possibilities: time: order by origin descending time time-asc : order by origin ascending time magnitude: order by descending magnitude magnitude-asc : order by ascending magnitude
      • setCatalog

        public FDSNEventQueryParams setCatalog​(java.lang.String value)
        Limit to events from a specified catalog
      • setContributor

        public FDSNEventQueryParams setContributor​(java.lang.String value)
        Limit to events contributed by a specified contributor.
      • setUpdatedAfter

        public FDSNEventQueryParams setUpdatedAfter​(java.util.Date value)
        Limit to events updated after the specified time.
      • area

        public FDSNEventQueryParams area​(float minLat,
                                         float maxLat,
                                         float minLon,
                                         float maxLon)
      • donut

        public FDSNEventQueryParams donut​(float lat,
                                          float lon,
                                          float minRadius,
                                          float maxRadius)