org.jscience.earth.weather
Class WeatherConditions

java.lang.Object
  extended by org.jscience.earth.weather.WeatherConditions
All Implemented Interfaces:
Positioned

public class WeatherConditions
extends java.lang.Object
implements Positioned

A class representing the main characteristics of a weather report (METAR...).


Constructor Summary
WeatherConditions(java.util.Date date, java.lang.String stationName, Place stationLocation, java.lang.String description)
          Creates a new WeatherConditions object.
 
Method Summary
 int getAirQuality()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 java.lang.String getDescription()
          DOCUMENT ME!
 float getDewPoint()
          DOCUMENT ME!
 float getEnergy()
          DOCUMENT ME!
 float getFeelsLikeTemperature()
          DOCUMENT ME!
 float getHumidity()
          DOCUMENT ME!
 Place getPosition()
          DOCUMENT ME!
 float getPressure()
          DOCUMENT ME!
 float getSeaHeight()
          DOCUMENT ME!
 float getSnowHeight()
          DOCUMENT ME!
 java.lang.String getStationName()
          DOCUMENT ME!
 float getTemperature()
          DOCUMENT ME!
 int getUVLevel()
          DOCUMENT ME!
 float getVisibility()
          DOCUMENT ME!
 float getWindDirection()
          DOCUMENT ME!
 float getWindGust()
          DOCUMENT ME!
 float getWindSpeed()
          DOCUMENT ME!
 void setAirQuality(int airQuality)
          DOCUMENT ME!
 void setDate(java.util.Date date)
          DOCUMENT ME!
 void setDescription(java.lang.String description)
          DOCUMENT ME!
 void setDewPoint(float dewPoint)
          DOCUMENT ME!
 void setEnergy(float energy)
          DOCUMENT ME!
 void setFeelsLikeTemperature(float feelsLikeTemperature)
          DOCUMENT ME!
 void setHumidity(float humidity)
          DOCUMENT ME!
 void setPosition(Place stationLocation)
          DOCUMENT ME!
 void setPressure(float pressure)
          DOCUMENT ME!
 void setSeaHeight(float seaHeight)
          DOCUMENT ME!
 void setSnowHeight(float snowHeight)
          DOCUMENT ME!
 void setStationName(java.lang.String description)
          DOCUMENT ME!
 void setTemperature(float temperature)
          DOCUMENT ME!
 void setUVLevel(int UVLevel)
          DOCUMENT ME!
 void setVisibility(float visibility)
          DOCUMENT ME!
 void setWindDirection(float windDirection)
          DOCUMENT ME!
 void setWindGust(float windGust)
          DOCUMENT ME!
 void setWindSpeed(float windSpeed)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeatherConditions

public WeatherConditions(java.util.Date date,
                         java.lang.String stationName,
                         Place stationLocation,
                         java.lang.String description)
Creates a new WeatherConditions object.

Parameters:
date - DOCUMENT ME!
stationName - DOCUMENT ME!
stationLocation - DOCUMENT ME!
description - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getDate

public java.util.Date getDate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDate

public void setDate(java.util.Date date)
DOCUMENT ME!

Parameters:
date - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getStationName

public java.lang.String getStationName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setStationName

public void setStationName(java.lang.String description)
DOCUMENT ME!

Parameters:
description - DOCUMENT ME!

getPosition

public Place getPosition()
DOCUMENT ME!

Specified by:
getPosition in interface Positioned
Returns:
DOCUMENT ME!

setPosition

public void setPosition(Place stationLocation)
DOCUMENT ME!

Parameters:
stationLocation - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getDescription

public java.lang.String getDescription()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDescription

public void setDescription(java.lang.String description)
DOCUMENT ME!

Parameters:
description - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getTemperature

public float getTemperature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setTemperature

public void setTemperature(float temperature)
DOCUMENT ME!

Parameters:
temperature - DOCUMENT ME!

getFeelsLikeTemperature

public float getFeelsLikeTemperature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setFeelsLikeTemperature

public void setFeelsLikeTemperature(float feelsLikeTemperature)
DOCUMENT ME!

Parameters:
feelsLikeTemperature - DOCUMENT ME!

getPressure

public float getPressure()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPressure

public void setPressure(float pressure)
DOCUMENT ME!

Parameters:
pressure - DOCUMENT ME!

getHumidity

public float getHumidity()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setHumidity

public void setHumidity(float humidity)
DOCUMENT ME!

Parameters:
humidity - DOCUMENT ME!

getDewPoint

public float getDewPoint()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDewPoint

public void setDewPoint(float dewPoint)
DOCUMENT ME!

Parameters:
dewPoint - DOCUMENT ME!

getWindSpeed

public float getWindSpeed()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setWindSpeed

public void setWindSpeed(float windSpeed)
DOCUMENT ME!

Parameters:
windSpeed - DOCUMENT ME!

getWindGust

public float getWindGust()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setWindGust

public void setWindGust(float windGust)
DOCUMENT ME!

Parameters:
windGust - DOCUMENT ME!

getWindDirection

public float getWindDirection()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setWindDirection

public void setWindDirection(float windDirection)
DOCUMENT ME!

Parameters:
windDirection - DOCUMENT ME!

getVisibility

public float getVisibility()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setVisibility

public void setVisibility(float visibility)
DOCUMENT ME!

Parameters:
visibility - DOCUMENT ME!

getEnergy

public float getEnergy()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setEnergy

public void setEnergy(float energy)
DOCUMENT ME!

Parameters:
energy - DOCUMENT ME!

getUVLevel

public int getUVLevel()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setUVLevel

public void setUVLevel(int UVLevel)
DOCUMENT ME!

Parameters:
UVLevel - DOCUMENT ME!

getAirQuality

public int getAirQuality()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setAirQuality

public void setAirQuality(int airQuality)
DOCUMENT ME!

Parameters:
airQuality - DOCUMENT ME!

getSnowHeight

public float getSnowHeight()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setSnowHeight

public void setSnowHeight(float snowHeight)
DOCUMENT ME!

Parameters:
snowHeight - DOCUMENT ME!

getSeaHeight

public float getSeaHeight()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setSeaHeight

public void setSeaHeight(float seaHeight)
DOCUMENT ME!

Parameters:
seaHeight - DOCUMENT ME!