public class ObservationCollection extends Object
| Constructor and Description |
|---|
ObservationCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addObservationValue(org.joda.time.DateTime dateTime,
Double value) |
void |
filterObservations(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate)
Remove observations that are between the start and end dates
|
com.vividsolutions.jts.geom.Geometry |
getGeometry()
Could be null if no depth is involved
|
NavigableMap<org.joda.time.DateTime,Double> |
getObservationValues() |
com.axiomalaska.phenomena.Phenomenon |
getPhenomenon() |
SosSensor |
getSensor()
The sensor of the observations
|
boolean |
hasObservationValue(org.joda.time.DateTime dateTime) |
boolean |
isValid()
A method to validate the ObservationCollection object.
|
void |
setGeometry(com.vividsolutions.jts.geom.Geometry geometry) |
void |
setObservationValues(NavigableMap<org.joda.time.DateTime,Double> observationValues) |
void |
setPhenomenon(com.axiomalaska.phenomena.Phenomenon phenomenon) |
void |
setSensor(SosSensor sensor) |
String |
toString() |
public com.vividsolutions.jts.geom.Geometry getGeometry()
public void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
public com.axiomalaska.phenomena.Phenomenon getPhenomenon()
public void setPhenomenon(com.axiomalaska.phenomena.Phenomenon phenomenon)
public SosSensor getSensor()
public void setSensor(SosSensor sensor)
public NavigableMap<org.joda.time.DateTime,Double> getObservationValues()
public void setObservationValues(NavigableMap<org.joda.time.DateTime,Double> observationValues)
public boolean hasObservationValue(org.joda.time.DateTime dateTime)
public void addObservationValue(org.joda.time.DateTime dateTime,
Double value)
public void filterObservations(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate)
startDate - - start date of observations to removeendDate - - end date of observations to removepublic boolean isValid()
Copyright © 2014. All Rights Reserved.