Class SamplingOutputMapper
- java.lang.Object
-
- org.n52.sensorweb.server.db.assembler.mapper.ParameterOutputSearchResultMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>
-
- org.n52.sensorweb.server.db.assembler.mapper.SamplingOutputMapper
-
- All Implemented Interfaces:
OutputMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>,TimeOutputCreator
public class SamplingOutputMapper extends ParameterOutputSearchResultMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput> implements TimeOutputCreator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.n52.sensorweb.server.db.assembler.mapper.ParameterOutputSearchResultMapper
ParameterOutputSearchResultMapper.DatasetParameterChecker
-
-
Field Summary
-
Fields inherited from class org.n52.sensorweb.server.db.assembler.mapper.ParameterOutputSearchResultMapper
categoryMapper, featureMapper, offeringMapper, phenomenonMapper, platformMapper, procedureMapper, serviceMapper
-
Fields inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
OFFSET_REGEX
-
-
Constructor Summary
Constructors Constructor Description SamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory)SamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory, boolean subMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAll(org.n52.io.response.sampling.SamplingOutput result, org.n52.series.db.beans.sampling.SamplingEntity sampling, DbQuery query, org.n52.io.request.IoParameters parameters)org.n52.io.response.sampling.SamplingOutputaddExpandedValues(org.n52.series.db.beans.sampling.SamplingEntity entity, org.n52.io.response.sampling.SamplingOutput output)voidaddSelected(org.n52.io.response.sampling.SamplingOutput result, org.n52.series.db.beans.sampling.SamplingEntity sampling, DbQuery query, org.n52.io.request.IoParameters parameters)org.n52.io.response.sampling.SamplingOutputgetParameterOuput()-
Methods inherited from class org.n52.sensorweb.server.db.assembler.mapper.ParameterOutputSearchResultMapper
addService, createCondensed, createCondensed, createCondensedMinimal, createGeometry, createSearchResult, createTimeseriesOutput, getCategoryOutput, getDatasetOutput, getDbQuery, getFeatureOutput, getGeometry, getHrefBase, getLogger, getOfferingOutput, getOutputMapperFactory, getPhenomenonOutput, getPlatformOutput, getProcedureOutput, getSamplingOutput, getSelection, getServiceOutput, getSubSelection, getTagOutput, hasSelect, initSubMapper, initSubSelect
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.sensorweb.server.db.assembler.mapper.OutputMapper
addDomainId, addHref, addLabel, checkSelected, checkSubSelected, createCondensed, createExpanded, createExpanded, createLabel, getCollectionName, getSubSelection, isSelected, isSubSelected, log
-
Methods inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
createTimeOutput, createTimeOutput, getOriginTimeZone
-
-
-
-
Constructor Detail
-
SamplingOutputMapper
public SamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory)
-
SamplingOutputMapper
public SamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory, boolean subMapper)
-
-
Method Detail
-
addExpandedValues
public org.n52.io.response.sampling.SamplingOutput addExpandedValues(org.n52.series.db.beans.sampling.SamplingEntity entity, org.n52.io.response.sampling.SamplingOutput output)- Specified by:
addExpandedValuesin interfaceOutputMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>- Overrides:
addExpandedValuesin classParameterOutputSearchResultMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>
-
addAll
public void addAll(org.n52.io.response.sampling.SamplingOutput result, org.n52.series.db.beans.sampling.SamplingEntity sampling, DbQuery query, org.n52.io.request.IoParameters parameters)- Specified by:
addAllin interfaceOutputMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>
-
addSelected
public void addSelected(org.n52.io.response.sampling.SamplingOutput result, org.n52.series.db.beans.sampling.SamplingEntity sampling, DbQuery query, org.n52.io.request.IoParameters parameters)- Specified by:
addSelectedin interfaceOutputMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>
-
getParameterOuput
public org.n52.io.response.sampling.SamplingOutput getParameterOuput()
- Specified by:
getParameterOuputin interfaceOutputMapper<org.n52.series.db.beans.sampling.SamplingEntity,org.n52.io.response.sampling.SamplingOutput>
-
-