edu.sc.seis.seisFile.fdsnws
Class FDSNDataSelectQueryParams

java.lang.Object
  extended by edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
      extended by edu.sc.seis.seisFile.fdsnws.FDSNDataSelectQueryParams
All Implemented Interfaces:
java.lang.Cloneable

public class FDSNDataSelectQueryParams
extends AbstractQueryParams
implements java.lang.Cloneable

Autogenerated by groovy FDSNQueryParamGenerator.groovy in src/metacode/groovy


Field Summary
static java.lang.String CHANNEL
           
static java.lang.String DATASELECT_SERVICE
           
static java.lang.String ENDTIME
           
static java.lang.String LOCATION
           
static java.lang.String LONGESTONLY
           
static java.lang.String MINIMUMLENGTH
           
static java.lang.String NETWORK
           
static java.lang.String QUALITY
           
static java.lang.String STARTTIME
           
static java.lang.String STATION
           
 
Fields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
IRIS_HOST
 
Constructor Summary
FDSNDataSelectQueryParams()
           
FDSNDataSelectQueryParams(java.lang.String host)
           
 
Method Summary
 FDSNDataSelectQueryParams appendToChannel(java.lang.String value)
          Select one or more SEED channel codes.
 FDSNDataSelectQueryParams appendToLocation(java.lang.String value)
          Select one or more SEED location identifiers.
 FDSNDataSelectQueryParams appendToNetwork(java.lang.String value)
          Select one or more network codes.
 FDSNDataSelectQueryParams appendToStation(java.lang.String value)
          Select one or more SEED station codes.
 FDSNDataSelectQueryParams clearChannel()
           
 FDSNDataSelectQueryParams clearEndTime()
           
 FDSNDataSelectQueryParams clearLocation()
           
 FDSNDataSelectQueryParams clearLongestOnly()
           
 FDSNDataSelectQueryParams clearMinimumLength()
           
 FDSNDataSelectQueryParams clearNetwork()
           
 FDSNDataSelectQueryParams clearQuality()
           
 FDSNDataSelectQueryParams clearStartTime()
           
 FDSNDataSelectQueryParams clearStation()
           
 FDSNDataSelectQueryParams clone()
           
 java.lang.String formPostString()
           
 java.lang.String formPostString(java.util.List<ChannelTimeWindow> request)
          Forms the text for use in a POST request to the web service.
 java.lang.String getServiceName()
          Service name as defined by the fdsn, ie event, station or dataselect.
 FDSNDataSelectQueryParams setEndTime(java.util.Date value)
          Limit results to time series samples on or before the specified end time
 FDSNDataSelectQueryParams setHost(java.lang.String host)
           
 FDSNDataSelectQueryParams setLongestOnly(boolean value)
          Limit results to the longest continuous segment per channel.
 FDSNDataSelectQueryParams setMinimumLength(int value)
          Limit results to continuous data segments of a minimum length specified in seconds.
 FDSNDataSelectQueryParams setQuality(java.lang.String value)
          Select a specific SEED quality indicator, handling is data center dependent.
 FDSNDataSelectQueryParams setStartTime(java.util.Date value)
          Limit results to time series samples on or after the specified start time
 
Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
appendToParam, clear, clearParam, createDateFormat, formURI, getHost, getParam, getParams, setParam, setParam, setParam, setParam, setParam, setPort, setScheme
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTTIME

public static final java.lang.String STARTTIME
See Also:
Constant Field Values

ENDTIME

public static final java.lang.String ENDTIME
See Also:
Constant Field Values

NETWORK

public static final java.lang.String NETWORK
See Also:
Constant Field Values

STATION

public static final java.lang.String STATION
See Also:
Constant Field Values

LOCATION

public static final java.lang.String LOCATION
See Also:
Constant Field Values

CHANNEL

public static final java.lang.String CHANNEL
See Also:
Constant Field Values

QUALITY

public static final java.lang.String QUALITY
See Also:
Constant Field Values

MINIMUMLENGTH

public static final java.lang.String MINIMUMLENGTH
See Also:
Constant Field Values

LONGESTONLY

public static final java.lang.String LONGESTONLY
See Also:
Constant Field Values

DATASELECT_SERVICE

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

FDSNDataSelectQueryParams

public FDSNDataSelectQueryParams()

FDSNDataSelectQueryParams

public FDSNDataSelectQueryParams(java.lang.String host)
Method Detail

clone

public FDSNDataSelectQueryParams clone()
Overrides:
clone in class java.lang.Object

setHost

public FDSNDataSelectQueryParams setHost(java.lang.String host)

setStartTime

public FDSNDataSelectQueryParams setStartTime(java.util.Date value)
Limit results to time series samples on or after the specified start time


clearStartTime

public FDSNDataSelectQueryParams clearStartTime()

setEndTime

public FDSNDataSelectQueryParams setEndTime(java.util.Date value)
Limit results to time series samples on or before the specified end time


clearEndTime

public FDSNDataSelectQueryParams clearEndTime()

appendToNetwork

public FDSNDataSelectQueryParams appendToNetwork(java.lang.String value)
Select one or more network codes. Can be SEED network codes or data center defined codes. Multiple codes are comma-separated.


clearNetwork

public FDSNDataSelectQueryParams clearNetwork()

appendToStation

public FDSNDataSelectQueryParams appendToStation(java.lang.String value)
Select one or more SEED station codes. Multiple codes are comma-separated.


clearStation

public FDSNDataSelectQueryParams clearStation()

appendToLocation

public FDSNDataSelectQueryParams appendToLocation(java.lang.String value)
Select one or more SEED location identifiers. Multiple identifiers are comma-separated. As a special case "--" (two dashes) will be translated to a string of two space characters to match blank location IDs.


clearLocation

public FDSNDataSelectQueryParams clearLocation()

appendToChannel

public FDSNDataSelectQueryParams appendToChannel(java.lang.String value)
Select one or more SEED channel codes. Multiple codes are comma-separated.


clearChannel

public FDSNDataSelectQueryParams clearChannel()

setQuality

public FDSNDataSelectQueryParams setQuality(java.lang.String value)
Select a specific SEED quality indicator, handling is data center dependent.


clearQuality

public FDSNDataSelectQueryParams clearQuality()

setMinimumLength

public FDSNDataSelectQueryParams setMinimumLength(int value)
Limit results to continuous data segments of a minimum length specified in seconds.


clearMinimumLength

public FDSNDataSelectQueryParams clearMinimumLength()

setLongestOnly

public FDSNDataSelectQueryParams setLongestOnly(boolean value)
Limit results to the longest continuous segment per channel.


clearLongestOnly

public FDSNDataSelectQueryParams clearLongestOnly()

formPostString

public java.lang.String formPostString()

formPostString

public java.lang.String formPostString(java.util.List<ChannelTimeWindow> request)
Forms the text for use in a POST request to the web service. Channel and time window are taken from the list of ChannelTimeWindow.

Returns:

getServiceName

public java.lang.String getServiceName()
Description copied from class: AbstractQueryParams
Service name as defined by the fdsn, ie event, station or dataselect.

Specified by:
getServiceName in class AbstractQueryParams