Class WeatherMapData
java.lang.Object
org.deltava.beans.wx.WeatherMapData
- All Implemented Interfaces:
Serializable
,Comparable<WeatherMapData>
,Cacheable
,ExpiringCacheable
A bean to store consolidated front/cyclone data.
- Since:
- 5.2
- Version:
- 5.2
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a cyclone.void
add
(WeatherLine wl) Adds a front/trough.cacheKey()
Returns the cache key for this object.int
compareTo
(WeatherMapData wmd) Compres two sets of weather map data by comparing their effective dates.getDate()
Returns the date this object should be considered expired.
-
Constructor Details
-
WeatherMapData
-
-
Method Details
-
add
-
add
-
getDate
-
getCyclones
-
getFronts
-
cacheKey
-
getExpiryDate
Description copied from interface:ExpiringCacheable
Returns the date this object should be considered expired.- Specified by:
getExpiryDate
in interfaceExpiringCacheable
- Returns:
- the expiry date/time
-
compareTo
Compres two sets of weather map data by comparing their effective dates.- Specified by:
compareTo
in interfaceComparable<WeatherMapData>
-