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


Constructor Summary
StationData()
           
 
Method Summary
 ElementData[] getElementData()
          Gets the array of weather data.
 WeatherStation getStation()
          Gets a reference to the details of the station that the weather data came from.
 void setElementData(ElementData[] newElementData)
           
 void setStation(WeatherStation stationDetails)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StationData

public StationData()
Method Detail

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)