org.deegree.observation.model
Class SimpleMeasurement

java.lang.Object
  extended by 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 $

Constructor Summary
SimpleMeasurement(MeasurementBase measurementBase, Date date, Procedure procedure, List<Result> results)
           
 
Method Summary
 String getFeatureOfInterest()
           
 Procedure getProcedure()
           
 List<Property> getProperties()
           
 Result getResult(Property property)
           
 List<Result> getResults()
           
 TimeInstant getSamplingTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleMeasurement

public SimpleMeasurement(MeasurementBase measurementBase,
                         Date date,
                         Procedure procedure,
                         List<Result> results)
Parameters:
measurementBase -
date -
procedure -
results -
Method Detail

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.