org.blojsom.plugin.weather
Class Weather

java.lang.Object
  extended byorg.blojsom.plugin.weather.Weather

public class Weather
extends java.lang.Object

Weather

Since:
Blojsom 2.23
Version:
$Id: Weather.java,v 1.4 2006/01/04 16:53:13 czarneckid Exp $
Author:
Mark Lussier

Constructor Summary
Weather()
          Default constructor.
 
Method Summary
 BlogUser getBlogUser()
          Get the BlogUser associated with this weather object
 java.lang.String getProviderClass()
          Retrieve the fully-qualified classname handling the parsing of weather information
 java.lang.String getStationCode()
          Get the weather station ID for retrieving a feed of weather data
 boolean isEnabled()
          Check to see if this weather object is enabled
 void setBlogUser(BlogUser blogUser)
          Set the BlogUser object for this weather object
 void setEnabled(boolean enabled)
          Set whether or not this weather object is enabled
 void setProviderClass(java.lang.String providerClass)
          Set the fully-qualified classname handling the parsing of weather information
 void setStationCode(java.lang.String stationCode)
          Set the weather station ID for retrieving a feed of weather data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Weather

public Weather()
Default constructor. Not enabled by default.

Method Detail

getBlogUser

public BlogUser getBlogUser()
Get the BlogUser associated with this weather object

Returns:
BlogUser data

setBlogUser

public void setBlogUser(BlogUser blogUser)
Set the BlogUser object for this weather object

Parameters:
blogUser - BlogUser

getStationCode

public java.lang.String getStationCode()
Get the weather station ID for retrieving a feed of weather data

Returns:
Weather station ID

setStationCode

public void setStationCode(java.lang.String stationCode)
Set the weather station ID for retrieving a feed of weather data

Parameters:
stationCode - Weather station ID

isEnabled

public boolean isEnabled()
Check to see if this weather object is enabled

Returns:
true if enabled, false otherwise

setEnabled

public void setEnabled(boolean enabled)
Set whether or not this weather object is enabled

Parameters:
enabled - true to enable it, false otherwise

getProviderClass

public java.lang.String getProviderClass()
Retrieve the fully-qualified classname handling the parsing of weather information

Returns:
Fully-qualified classname handling parsing of weather information

setProviderClass

public void setProviderClass(java.lang.String providerClass)
Set the fully-qualified classname handling the parsing of weather information

Parameters:
providerClass - Fully-qualified classname handling parsing of weather information