org.jscience.earth.weather
Class WeatherPrevision

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

public class WeatherPrevision
extends java.lang.Object
implements Positioned

A class representing the main characteristics of a weather prediction.


Constructor Summary
WeatherPrevision(java.util.Date date, Place place, java.lang.String description)
          Creates a new WeatherPrevision object.
 
Method Summary
 int getAirQuality()
          DOCUMENT ME!
 float getCloudCover()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 java.lang.String getDescription()
          DOCUMENT ME!
 java.util.Date getFirstHighTideTime()
          DOCUMENT ME!
 float getHighTemperature()
          DOCUMENT ME!
 float getLowTemperature()
          DOCUMENT ME!
 java.util.Date getMoonriseTime()
          DOCUMENT ME!
 java.util.Date getMoonsetTime()
          DOCUMENT ME!
 Place getPosition()
          DOCUMENT ME!
 float getPrecipitation()
          DOCUMENT ME!
 float getPressure()
          DOCUMENT ME!
 float getSeaHeight()
          DOCUMENT ME!
 java.util.Date getSecondHighTideTime()
          DOCUMENT ME!
 float getSnowHeight()
          DOCUMENT ME!
 java.util.Date getSunriseTime()
          DOCUMENT ME!
 java.util.Date getSunsetTime()
          DOCUMENT ME!
 int getUVindex()
          DOCUMENT ME!
 float getVisibility()
          DOCUMENT ME!
 void setAirQuality(int airQuality)
          DOCUMENT ME!
 void setCloudCover(float cloudCover)
          DOCUMENT ME!
 void setDate(java.util.Date date)
          DOCUMENT ME!
 void setDescription(java.lang.String description)
          DOCUMENT ME!
 void setFirstHighTideTime(java.util.Date firstHighTideTime)
          DOCUMENT ME!
 void setHighTemperature(float highTemperature)
          DOCUMENT ME!
 void setLowTemperature(float lowTemperature)
          DOCUMENT ME!
 void setMoonriseTime(java.util.Date moonriseTime)
          DOCUMENT ME!
 void setMoonsetTime(java.util.Date moonsetTime)
          DOCUMENT ME!
 void setPosition(Place place)
          DOCUMENT ME!
 void setPrecipitation(float precipitation)
          DOCUMENT ME!
 void setPressure(float pressure)
          DOCUMENT ME!
 void setSeaHeight(float seaHeight)
          DOCUMENT ME!
 void setSecondHighTideTime(java.util.Date secondHighTideTime)
          DOCUMENT ME!
 void setSnowHeight(float snowHeight)
          DOCUMENT ME!
 void setSunriseTime(java.util.Date sunriseTime)
          DOCUMENT ME!
 void setSunsetTime(java.util.Date sunsetTime)
          DOCUMENT ME!
 void setUVindex(int UVindex)
          DOCUMENT ME!
 void setVisibility(float visibility)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeatherPrevision

public WeatherPrevision(java.util.Date date,
                        Place place,
                        java.lang.String description)
Creates a new WeatherPrevision object.

Parameters:
date - DOCUMENT ME!
place - 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!

getPosition

public Place getPosition()
DOCUMENT ME!

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

setPosition

public void setPosition(Place place)
DOCUMENT ME!

Parameters:
place - 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!

getSunriseTime

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

Returns:
DOCUMENT ME!

setSunriseTime

public void setSunriseTime(java.util.Date sunriseTime)
DOCUMENT ME!

Parameters:
sunriseTime - DOCUMENT ME!

getSunsetTime

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

Returns:
DOCUMENT ME!

setSunsetTime

public void setSunsetTime(java.util.Date sunsetTime)
DOCUMENT ME!

Parameters:
sunsetTime - DOCUMENT ME!

getHighTemperature

public float getHighTemperature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setHighTemperature

public void setHighTemperature(float highTemperature)
DOCUMENT ME!

Parameters:
highTemperature - DOCUMENT ME!

getLowTemperature

public float getLowTemperature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setLowTemperature

public void setLowTemperature(float lowTemperature)
DOCUMENT ME!

Parameters:
lowTemperature - DOCUMENT ME!

getPressure

public float getPressure()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPressure

public void setPressure(float pressure)
DOCUMENT ME!

Parameters:
pressure - DOCUMENT ME!

getPrecipitation

public float getPrecipitation()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPrecipitation

public void setPrecipitation(float precipitation)
DOCUMENT ME!

Parameters:
precipitation - DOCUMENT ME!

getCloudCover

public float getCloudCover()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCloudCover

public void setCloudCover(float cloudCover)
DOCUMENT ME!

Parameters:
cloudCover - DOCUMENT ME!

getAirQuality

public int getAirQuality()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setAirQuality

public void setAirQuality(int airQuality)
DOCUMENT ME!

Parameters:
airQuality - DOCUMENT ME!

getUVindex

public int getUVindex()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setUVindex

public void setUVindex(int UVindex)
DOCUMENT ME!

Parameters:
UVindex - DOCUMENT ME!

getVisibility

public float getVisibility()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setVisibility

public void setVisibility(float visibility)
DOCUMENT ME!

Parameters:
visibility - 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!

getFirstHighTideTime

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

Returns:
DOCUMENT ME!

setFirstHighTideTime

public void setFirstHighTideTime(java.util.Date firstHighTideTime)
DOCUMENT ME!

Parameters:
firstHighTideTime - DOCUMENT ME!

getSecondHighTideTime

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

Returns:
DOCUMENT ME!

setSecondHighTideTime

public void setSecondHighTideTime(java.util.Date secondHighTideTime)
DOCUMENT ME!

Parameters:
secondHighTideTime - DOCUMENT ME!

getMoonriseTime

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

Returns:
DOCUMENT ME!

setMoonriseTime

public void setMoonriseTime(java.util.Date moonriseTime)
DOCUMENT ME!

Parameters:
moonriseTime - DOCUMENT ME!

getMoonsetTime

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

Returns:
DOCUMENT ME!

setMoonsetTime

public void setMoonsetTime(java.util.Date moonsetTime)
DOCUMENT ME!

Parameters:
moonsetTime - DOCUMENT ME!