public class YWeatherModuleImpl extends ModuleImpl implements YWeatherEntryModule, YWeatherFeedModule
| Modifier and Type | Class and Description |
|---|---|
static interface |
YWeatherModuleImpl.CopyFromInterface
Inteface combining feed and entry module.
|
URI| Constructor and Description |
|---|
YWeatherModuleImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(CopyFrom o) |
Astronomy |
getAstronomy()
Astronomical information for the location.
|
Atmosphere |
getAtmosphere()
The current atmospheric conditions.
|
Condition |
getCondition()
The current conditions.
|
Forecast[] |
getForecasts()
Forecasts for this location.
|
Class<? extends Module> |
getInterface() |
Location |
getLocation()
The location the feed is for.
|
Units |
getUnits()
Units that data in the feed is provided in.
|
Wind |
getWind()
Current wind conditions at the location.
|
void |
setAstronomy(Astronomy astronomy)
Astronomical information for the location.
|
void |
setAtmosphere(Atmosphere atmosphere)
Sets the current atmopheric condictions.
|
void |
setCondition(Condition condition)
The current conditions.
|
void |
setForecasts(Forecast[] forecasts)
Forecasts for this location.
|
void |
setLocation(Location location)
The location the feed is for.
|
void |
setUnits(Units units)
Units that data in the feed is provided in.
|
void |
setWind(Wind wind)
Current wind conditions at the location.
|
clone, equals, getUri, hashCode, toStringpublic Class<? extends Module> getInterface()
getInterface in interface CopyFrompublic Location getLocation()
YWeatherFeedModulegetLocation in interface YWeatherFeedModulepublic void setLocation(Location location)
YWeatherFeedModulesetLocation in interface YWeatherFeedModulelocation - The location the feed is for.public Astronomy getAstronomy()
YWeatherFeedModulegetAstronomy in interface YWeatherFeedModulepublic void setAstronomy(Astronomy astronomy)
YWeatherFeedModulesetAstronomy in interface YWeatherFeedModuleastronomy - Astronomical information for the location.public Units getUnits()
YWeatherFeedModulegetUnits in interface YWeatherFeedModulepublic void setUnits(Units units)
YWeatherFeedModulesetUnits in interface YWeatherFeedModuleunits - Units that data in the feed is provided in.public Condition getCondition()
YWeatherEntryModulegetCondition in interface YWeatherEntryModulepublic void setCondition(Condition condition)
YWeatherEntryModulesetCondition in interface YWeatherEntryModulecondition - The current conditions.public Forecast[] getForecasts()
YWeatherEntryModulegetForecasts in interface YWeatherEntryModulepublic void setForecasts(Forecast[] forecasts)
YWeatherEntryModulesetForecasts in interface YWeatherEntryModuleforecasts - Forecasts for this location.public Wind getWind()
YWeatherFeedModulegetWind in interface YWeatherFeedModulepublic void setWind(Wind wind)
YWeatherFeedModulesetWind in interface YWeatherFeedModulewind - Current wind conditions at the location.public Atmosphere getAtmosphere()
YWeatherFeedModulegetAtmosphere in interface YWeatherFeedModulepublic void setAtmosphere(Atmosphere atmosphere)
YWeatherFeedModulesetAtmosphere in interface YWeatherFeedModuleatmosphere - Atmosphere object.Copyright © 2021. All rights reserved.