net.agmodel.metsoap
Class StationData
java.lang.Object
|
+--net.agmodel.metsoap.StationData
- public class StationData
- extends Object
Contains a set of meteorological data from one station.
Conforms to the JavaBean pattern to ensure easy SOAP serialization
Copyright (c)2002 National Agricultural Research Center
StationData
public StationData()
setStation
public void setStation(WeatherStation stationDetails)
getStation
public WeatherStation getStation()
- Gets a reference to the details of the station that the weather data came from.
- Returns:
- a description of the station
getElementData
public ElementData[] getElementData()
- Gets the array of weather data.
The order of array elements matches the request
If a weather element is requested but there is no data, the corresponding array element is set to null
- Returns:
- the weather data from the station for each weather element requested
setElementData
public void setElementData(ElementData[] newElementData)