org.deegree.observation.model
Class SimpleMeasurement
java.lang.Object
org.deegree.observation.model.SimpleMeasurement
- All Implemented Interfaces:
- Measurement
public class SimpleMeasurement
- extends Object
- implements Measurement
This Measurement
shares the procedure, featureOfInterest and observedProperty with other measurements via a
common MeasurementBase
.
A SimpleMeasurement
object is immutable.
- Version:
- $Revision: 24362 $, $Date: 2010-05-12 15:42:07 +0200 (Wed, 12 May 2010) $
- Author:
- Oliver Tonnhofer, Andrei Ionita, last edited by: $Author: aionita $
SimpleMeasurement
public SimpleMeasurement(MeasurementBase measurementBase,
Date date,
Procedure procedure,
List<Result> results)
- Parameters:
measurementBase
- date
- procedure
- results
-
getFeatureOfInterest
public String getFeatureOfInterest()
- Specified by:
getFeatureOfInterest
in interface Measurement
- Returns:
- the feature of this measurement
getProcedure
public Procedure getProcedure()
- Specified by:
getProcedure
in interface Measurement
- Returns:
- the procedure
getProperties
public List<Property> getProperties()
- Specified by:
getProperties
in interface Measurement
- Returns:
- the observed properties
getResult
public Result getResult(Property property)
- Specified by:
getResult
in interface Measurement
- Returns:
- the result
getSamplingTime
public TimeInstant getSamplingTime()
- Specified by:
getSamplingTime
in interface Measurement
- Returns:
- the time of this measurement
getResults
public List<Result> getResults()
- Specified by:
getResults
in interface Measurement
- Returns:
- all results
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.