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, serviceMapperFields inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
OFFSET_REGEX -
Constructor Summary
ConstructorsConstructorDescriptionSamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory) SamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory, boolean subMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(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.SamplingOutputMethods 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, initSubSelectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.sensorweb.server.db.assembler.mapper.OutputMapper
addDomainId, addHref, addLabel, checkSelected, checkSubSelected, createCondensed, createExpanded, createExpanded, createLabel, getCollectionName, getSubSelection, isSelected, isSubSelected, logMethods inherited from interface org.n52.sensorweb.server.db.TimeOutputCreator
createTimeOutput, createTimeOutput, getOriginTimeZone
-
Constructor Details
-
SamplingOutputMapper
-
SamplingOutputMapper
public SamplingOutputMapper(DbQuery query, OutputMapperFactory outputMapperFactory, boolean subMapper)
-
-
Method Details
-
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>
-