org.deegree.observation.model
Class SimpleMeasurement
java.lang.Object
org.deegree.observation.model.SimpleMeasurement
- All Implemented Interfaces:
- Measurement
public class SimpleMeasurement
- extends java.lang.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 (Mi, 12. Mai 2010) $
- Author:
- Oliver Tonnhofer, Andrei Ionita, last edited by: $Author: aionita $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleMeasurement
public SimpleMeasurement(MeasurementBase measurementBase,
java.util.Date date,
Procedure procedure,
java.util.List<Result> results)
- Parameters:
measurementBase - date - procedure - results -
getFeatureOfInterest
public java.lang.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 java.util.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 java.util.List<Result> getResults()
- Specified by:
getResults in interface Measurement
- Returns:
- all results
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.