|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.webalgorithm.weather.vo.WeatherVO
Description: Weather object, result object of search
Copyright: Copyright (c) 2003
Company: WebAlgorithm, Inc
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 |
private com.webalgorithm.weather.vo.PromoVO promo
private com.webalgorithm.weather.vo.LocationVO location
private com.webalgorithm.weather.vo.CurrentConditionsVO currentConditions
private java.util.ArrayList days
Constructor Detail |
public WeatherVO()
Method Detail |
public java.util.ArrayList getDays()
public void addDay(com.webalgorithm.weather.vo.DayVO day)
public void setLocation(com.webalgorithm.weather.vo.LocationVO location)
public com.webalgorithm.weather.vo.LocationVO getLocation()
public com.webalgorithm.weather.vo.CurrentConditionsVO getCurrentConditions()
public void setCurrentConditions(com.webalgorithm.weather.vo.CurrentConditionsVO currentConditions)
public com.webalgorithm.weather.vo.PromoVO getPromo()
public void setPromo(com.webalgorithm.weather.vo.PromoVO promo)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |