org.jasig.portlet.weather.domain
Class Weather

java.lang.Object
  extended by org.jasig.portlet.weather.domain.Weather
All Implemented Interfaces:
java.io.Serializable

public class Weather
extends java.lang.Object
implements java.io.Serializable

This class models general weather for a certain location including the current weather and optional forecast weather.

Version:
$Id: Weather.java 22379 2010-11-15 22:19:56Z edalquist $
Author:
Dustin Schultz
See Also:
Serialized Form

Constructor Summary
Weather()
           
 
Method Summary
 Current getCurrentWeather()
           
 java.util.Collection<Forecast> getForecast()
           
 Location getLocation()
           
 java.lang.String getMoreInformationLink()
           
 java.lang.String getPressureUnit()
           
 java.lang.String getTemperatureUnit()
           
 java.lang.String getWindUnit()
           
 void setCurrentWeather(Current currentWeather)
           
 void setForecast(java.util.Collection<Forecast> forecast)
           
 void setLocation(Location location)
           
 void setMoreInformationLink(java.lang.String moreInformationLink)
           
 void setPressureUnit(java.lang.String pressureUnit)
           
 void setTemperatureUnit(java.lang.String temperatureUnit)
           
 void setWindUnit(java.lang.String windUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Weather

public Weather()
Method Detail

getCurrentWeather

public Current getCurrentWeather()

setCurrentWeather

public void setCurrentWeather(Current currentWeather)

getLocation

public Location getLocation()

setLocation

public void setLocation(Location location)

getForecast

public java.util.Collection<Forecast> getForecast()

setForecast

public void setForecast(java.util.Collection<Forecast> forecast)

getPressureUnit

public java.lang.String getPressureUnit()

setPressureUnit

public void setPressureUnit(java.lang.String pressureUnit)

getTemperatureUnit

public java.lang.String getTemperatureUnit()

setTemperatureUnit

public void setTemperatureUnit(java.lang.String temperatureUnit)

getWindUnit

public java.lang.String getWindUnit()

setWindUnit

public void setWindUnit(java.lang.String windUnit)

getMoreInformationLink

public java.lang.String getMoreInformationLink()

setMoreInformationLink

public void setMoreInformationLink(java.lang.String moreInformationLink)


Copyright © 2010 Jasig. All Rights Reserved.