public class WeatherConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WeatherConfig.UOM |
static class |
WeatherConfig.UOM_LOCALE |
Constructor and Description |
---|
WeatherConfig() |
Modifier and Type | Method and Description |
---|---|
java.util.List<WeatherField> |
getFields() |
java.lang.String |
getName() |
java.util.List<WeatherField> |
getShowMoreFields() |
java.util.Map<java.lang.String,java.lang.String> |
getUOM(WeatherConfig.UOM_LOCALE code) |
boolean |
isShowCurrent() |
boolean |
isShowDaily() |
boolean |
isShowHourly() |
boolean |
isShowMoreEnabled() |
boolean |
isShowWeather() |
void |
setFields(java.util.List<WeatherField> fields) |
void |
setName(java.lang.String name) |
void |
setShowCurrent(boolean showCurrent) |
void |
setShowDaily(boolean showDaily) |
void |
setShowHourly(boolean showHourly) |
void |
setShowMoreEnabled(boolean showAll) |
void |
setShowWeather(boolean showWeather) |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.List<WeatherField> getFields()
public void setFields(java.util.List<WeatherField> fields)
public java.util.Map<java.lang.String,java.lang.String> getUOM(WeatherConfig.UOM_LOCALE code)
public boolean isShowCurrent()
public void setShowCurrent(boolean showCurrent)
public boolean isShowHourly()
public void setShowHourly(boolean showHourly)
public boolean isShowDaily()
public void setShowDaily(boolean showDaily)
public java.util.List<WeatherField> getShowMoreFields()
public boolean isShowMoreEnabled()
public void setShowMoreEnabled(boolean showAll)
public boolean isShowWeather()
public void setShowWeather(boolean showWeather)