Package edu.sc.seis.seisFile.fdsnws
Class IRISFedCatQueryParams
- java.lang.Object
-
- edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
-
- edu.sc.seis.seisFile.fdsnws.IRISFedCatQueryParams
-
public class IRISFedCatQueryParams extends AbstractQueryParams
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFORMAT_REQUESTstatic java.lang.StringFORMAT_TEXTstatic java.lang.StringTARGET_DATASELECTstatic java.lang.StringTARGET_SERVICEstatic java.lang.StringTARGET_STATION-
Fields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
DEFAULT_HOST, EARTHSCOPE_HOST, FORMAT, IRIS_HOST, ISC_HOST, ISC_MIRROR_HOST, NEWLINE, NO_DATA, nodata, USGS_HOST
-
-
Constructor Summary
Constructors Constructor Description IRISFedCatQueryParams(FDSNDataSelectQueryParams dataSelectQueryParams)IRISFedCatQueryParams(FDSNStationQueryParams stationQueryParams)IRISFedCatQueryParams(java.lang.String host, FDSNDataSelectQueryParams dataSelectQueryParams)IRISFedCatQueryParams(java.lang.String host, FDSNStationQueryParams stationQueryParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRISFedCatQueryParamsclearFormat()IRISFedCatQueryParamsclearTargetService()java.util.HashMap<java.lang.String,java.lang.String>getParams()java.lang.StringgetServiceName()Service name as defined by the fdsn, ie event, station or dataselect.booleanisDataSelect()booleanisStation()IRISFedCatQueryParamssetFormat(java.lang.String value)Specify the format for the results.IRISFedCatQueryParamssetTargetService(java.lang.String value)Specify the target service for the results.-
Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
appendToParam, clear, clearParam, createDateFormat, createGetParamString, formURI, formURIForPost, getFDSNMajorVersion, getFdsnQueryStyle, getFdsnwsPath, getHost, getHTTPHost, getParam, getPort, getScheme, setBaseURL, setFdsnQueryStyle, setFdsnwsPath, setParam, setParam, setParam, setParam, setParam, setParam, setScheme, useHTTP, useHTTPS
-
-
-
-
Field Detail
-
TARGET_DATASELECT
public static final java.lang.String TARGET_DATASELECT
- See Also:
- Constant Field Values
-
TARGET_STATION
public static final java.lang.String TARGET_STATION
- See Also:
- Constant Field Values
-
FORMAT_TEXT
public static final java.lang.String FORMAT_TEXT
- See Also:
- Constant Field Values
-
FORMAT_REQUEST
public static final java.lang.String FORMAT_REQUEST
- See Also:
- Constant Field Values
-
TARGET_SERVICE
public static final java.lang.String TARGET_SERVICE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IRISFedCatQueryParams
public IRISFedCatQueryParams(FDSNStationQueryParams stationQueryParams)
-
IRISFedCatQueryParams
public IRISFedCatQueryParams(FDSNDataSelectQueryParams dataSelectQueryParams)
-
IRISFedCatQueryParams
public IRISFedCatQueryParams(java.lang.String host, FDSNStationQueryParams stationQueryParams)
-
IRISFedCatQueryParams
public IRISFedCatQueryParams(java.lang.String host, FDSNDataSelectQueryParams dataSelectQueryParams)
-
-
Method Detail
-
clearFormat
public IRISFedCatQueryParams clearFormat()
-
setFormat
public IRISFedCatQueryParams setFormat(java.lang.String value)
Specify the format for the results.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearTargetService
public IRISFedCatQueryParams clearTargetService()
-
setTargetService
public IRISFedCatQueryParams setTargetService(java.lang.String value)
Specify the target service for the results. Either station or dataselect.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
getServiceName
public java.lang.String getServiceName()
Service name as defined by the fdsn, ie event, station or dataselect.- Specified by:
getServiceNamein classAbstractQueryParams
-
isStation
public boolean isStation()
-
isDataSelect
public boolean isDataSelect()
-
getParams
public java.util.HashMap<java.lang.String,java.lang.String> getParams()
- Overrides:
getParamsin classAbstractQueryParams
-
-