org.n52.server.service
Class GetDataService
java.lang.Object
org.n52.server.service.DataService
org.n52.server.service.GetDataService
public class GetDataService
- extends DataService
Gets data values from an SOS instance. Requested time series are aggregated to a list of
TimeSeriesProperties
and passed to a configured TimeSeriesDataService
. Data response will
be enriched by further metadata from each procedure measuring the requested time series.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetDataService
public GetDataService()
getTimeSeriesFromParameterSet
public Map<String,TimeSeriesdataResult> getTimeSeriesFromParameterSet(ParameterSet parameterSet,
String instance)
- Parameters:
parameterSet
- containing request parameters.instance
- the configured data instance
- Returns:
- a time series result instance, identified by
ParameterConstellation.getClientId()
decorateProperties
protected TimeSeriesProperties decorateProperties(TimeSeriesProperties timeSeriesProperties,
ParameterSet parameterSet)
throws Exception
- Description copied from class:
DataService
- Override if passed properties have to be extended/complemented/expanded. If not overridden the
properties remain as passed.
- Overrides:
decorateProperties
in class DataService
- Parameters:
timeSeriesProperties
- the properties to decorate.parameterSet
- the request parameters.
- Returns:
- the decorated properties
- Throws:
Exception
- if decoration fails.
getTimeSeriesDataService
public TimeSeriesDataService getTimeSeriesDataService()
setTimeSeriesDataService
public void setTimeSeriesDataService(TimeSeriesDataService timeSeriesDataService)
Copyright © 2012 52north.org. All Rights Reserved.