org.deegree.observation.model
Class Observation
java.lang.Object
org.deegree.observation.model.Observation
- All Implemented Interfaces:
- Iterable<MeasurementCollection>
public class Observation
- extends Object
- implements Iterable<MeasurementCollection>
This class is a collection of muliple Measurement
s. The Measurements are grouped by its procedures in
MeasurementCollection
s.
- Version:
- $Revision: 24362 $, $Date: 2010-05-12 15:42:07 +0200 (Wed, 12 May 2010) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: aionita $
Observation
public Observation(Collection<Property> properties)
- Create a Observation with some observed properties.
- Parameters:
properties
-
add
public void add(Measurement measurement)
- Add a new measurement to the collection.
- Parameters:
measurement
-
toString
public String toString()
- Overrides:
toString
in class Object
iterator
public Iterator<MeasurementCollection> iterator()
- Specified by:
iterator
in interface Iterable<MeasurementCollection>
size
public int size()
- Returns:
- the number of measurements in this collection
getProperties
public List<Property> getProperties()
- Returns:
- a list of all stored properties.
getSamplingTime
public TimePeriod getSamplingTime()
- Returns:
- the sampling time of this collection. The TimePeriod will contain all SamplingTimes of this collection.
Copyright © 2011. All Rights Reserved.