| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ALERTS |
static String |
KEY_CURRENT_FORECAST |
static String |
KEY_HOURLY_FORECAST |
static String |
KEY_LOCATION |
static String |
KEY_MINUTE_FORECAST |
static String |
KEY_MULTIDAY_FORECAST |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
WeatherServiceData() |
WeatherServiceData(Hashtable<String,Object> hash) |
WeatherServiceData(LocationDetails location) |
| Modifier and Type | Method and Description |
|---|---|
List<WeatherAlert> |
getAlerts()
minsize: 1, maxsize: 10
|
WeatherData |
getCurrentForecast() |
List<WeatherData> |
getHourlyForecast()
minsize: 1, maxsize: 96
|
LocationDetails |
getLocation() |
List<WeatherData> |
getMinuteForecast()
minsize: 15, maxsize: 60
|
List<WeatherData> |
getMultidayForecast()
minsize: 1, maxsize: 30
|
WeatherServiceData |
setAlerts(List<WeatherAlert> alerts)
minsize: 1, maxsize: 10
|
WeatherServiceData |
setCurrentForecast(WeatherData currentForecast) |
WeatherServiceData |
setHourlyForecast(List<WeatherData> hourlyForecast)
minsize: 1, maxsize: 96
|
WeatherServiceData |
setLocation(LocationDetails location) |
WeatherServiceData |
setMinuteForecast(List<WeatherData> minuteForecast)
minsize: 15, maxsize: 60
|
WeatherServiceData |
setMultidayForecast(List<WeatherData> multidayForecast)
minsize: 1, maxsize: 30
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_LOCATION
public static final String KEY_CURRENT_FORECAST
public static final String KEY_MINUTE_FORECAST
public static final String KEY_HOURLY_FORECAST
public static final String KEY_MULTIDAY_FORECAST
public static final String KEY_ALERTS
public WeatherServiceData()
public WeatherServiceData(@NonNull
LocationDetails location)
public WeatherServiceData setLocation(@NonNull LocationDetails location)
location - -public LocationDetails getLocation()
public WeatherServiceData setCurrentForecast(WeatherData currentForecast)
currentForecast - -public WeatherData getCurrentForecast()
public WeatherServiceData setMinuteForecast(List<WeatherData> minuteForecast)
minuteForecast - -public List<WeatherData> getMinuteForecast()
public WeatherServiceData setHourlyForecast(List<WeatherData> hourlyForecast)
hourlyForecast - -public List<WeatherData> getHourlyForecast()
public WeatherServiceData setMultidayForecast(List<WeatherData> multidayForecast)
multidayForecast - -public List<WeatherData> getMultidayForecast()
public WeatherServiceData setAlerts(List<WeatherAlert> alerts)
alerts - -public List<WeatherAlert> getAlerts()