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 TypeMethodDescriptionvoidAdds a cyclone.voidadd(WeatherLine wl) Adds a front/trough.cacheKey()Returns the cache key for this object.intcompareTo(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:ExpiringCacheableReturns the date this object should be considered expired.- Specified by:
getExpiryDatein interfaceExpiringCacheable- Returns:
- the expiry date/time
-
compareTo
Compres two sets of weather map data by comparing their effective dates.- Specified by:
compareToin interfaceComparable<WeatherMapData>
-