Interface YWeatherFeedModule
-
- All Superinterfaces:
Cloneable,CopyFrom,Module,Serializable,YWeatherModule
- All Known Subinterfaces:
YWeatherModuleImpl.CopyFromInterface
- All Known Implementing Classes:
YWeatherModuleImpl
public interface YWeatherFeedModule extends YWeatherModule
An interface describing feed/channel level data for Yahoo Weather.
-
-
Field Summary
-
Fields inherited from interface com.rometools.modules.yahooweather.YWeatherModule
URI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AstronomygetAstronomy()Astronomical information for the location.AtmospheregetAtmosphere()The current atmospheric conditions.LocationgetLocation()The location the feed is for.UnitsgetUnits()Units that data in the feed is provided in.WindgetWind()Current wind conditions at the location.voidsetAstronomy(Astronomy astronomy)Astronomical information for the location.voidsetAtmosphere(Atmosphere value)Sets the current atmopheric condictions.voidsetLocation(Location location)The location the feed is for.voidsetUnits(Units units)Units that data in the feed is provided in.voidsetWind(Wind wind)Current wind conditions at the location.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getLocation
Location getLocation()
The location the feed is for.- Returns:
- The location the feed is for.
-
setLocation
void setLocation(Location location)
The location the feed is for.- Parameters:
location- The location the feed is for.
-
getAstronomy
Astronomy getAstronomy()
Astronomical information for the location.- Returns:
- Astronomical information for the location.
-
setAstronomy
void setAstronomy(Astronomy astronomy)
Astronomical information for the location.- Parameters:
astronomy- Astronomical information for the location.
-
getUnits
Units getUnits()
Units that data in the feed is provided in.- Returns:
- Units that data in the feed is provided in.
-
setUnits
void setUnits(Units units)
Units that data in the feed is provided in.- Parameters:
units- Units that data in the feed is provided in.
-
getWind
Wind getWind()
Current wind conditions at the location.- Returns:
- Current wind conditions at the location.
-
setWind
void setWind(Wind wind)
Current wind conditions at the location.- Parameters:
wind- Current wind conditions at the location.
-
getAtmosphere
Atmosphere getAtmosphere()
The current atmospheric conditions.- Returns:
- Atmosphere object.
-
setAtmosphere
void setAtmosphere(Atmosphere value)
Sets the current atmopheric condictions.- Parameters:
value- Atmosphere object.
-
-