com.webalgorithm.weather.vo
Class WeatherVO

java.lang.Object
  |
  +--com.webalgorithm.weather.vo.WeatherVO
All Implemented Interfaces:
java.io.Serializable

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

Description: Weather object, result object of search

Copyright: Copyright (c) 2003

Company: WebAlgorithm, Inc

Version:
1.0
See Also:
Serialized Form

Field Summary
private  com.webalgorithm.weather.vo.CurrentConditionsVO currentConditions
          Current conditions at the location iformation
private  java.util.ArrayList days
          All days that were returned as part of the search
private  com.webalgorithm.weather.vo.LocationVO location
          Location information
private  com.webalgorithm.weather.vo.PromoVO promo
          Promotional links provided by Weather.com
 
Constructor Summary
WeatherVO()
           
 
Method Summary
 void addDay(com.webalgorithm.weather.vo.DayVO day)
           
 com.webalgorithm.weather.vo.CurrentConditionsVO getCurrentConditions()
           
 java.util.ArrayList getDays()
           
 com.webalgorithm.weather.vo.LocationVO getLocation()
           
 com.webalgorithm.weather.vo.PromoVO getPromo()
           
 void setCurrentConditions(com.webalgorithm.weather.vo.CurrentConditionsVO currentConditions)
           
 void setLocation(com.webalgorithm.weather.vo.LocationVO location)
           
 void setPromo(com.webalgorithm.weather.vo.PromoVO promo)
           
 java.lang.String toString()
          This method is usefull for debugging, it returns a formatted weather information, which is easy to read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

promo

private com.webalgorithm.weather.vo.PromoVO promo
Promotional links provided by Weather.com


location

private com.webalgorithm.weather.vo.LocationVO location
Location information


currentConditions

private com.webalgorithm.weather.vo.CurrentConditionsVO currentConditions
Current conditions at the location iformation


days

private java.util.ArrayList days
All days that were returned as part of the search

Constructor Detail

WeatherVO

public WeatherVO()
Method Detail

getDays

public java.util.ArrayList getDays()

addDay

public void addDay(com.webalgorithm.weather.vo.DayVO day)

setLocation

public void setLocation(com.webalgorithm.weather.vo.LocationVO location)

getLocation

public com.webalgorithm.weather.vo.LocationVO getLocation()

getCurrentConditions

public com.webalgorithm.weather.vo.CurrentConditionsVO getCurrentConditions()

setCurrentConditions

public void setCurrentConditions(com.webalgorithm.weather.vo.CurrentConditionsVO currentConditions)

getPromo

public com.webalgorithm.weather.vo.PromoVO getPromo()

setPromo

public void setPromo(com.webalgorithm.weather.vo.PromoVO promo)

toString

public java.lang.String toString()
This method is usefull for debugging, it returns a formatted weather information, which is easy to read

Overrides:
toString in class java.lang.Object
Returns:


Copyright © 2003 WebAlgorithm, Inc All Rights Reserved.