org.deegree.observation.model
Class MeasurementCollection
java.lang.Object
org.deegree.observation.model.MeasurementCollection
- All Implemented Interfaces:
- Iterable<Measurement>
public class MeasurementCollection
- extends Object
- implements Iterable<Measurement>
This class is a collection of Measurement
s.
- 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 $
MeasurementCollection
public MeasurementCollection(Collection<Property> 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<Measurement> iterator()
- Specified by:
iterator
in interface Iterable<Measurement>
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.