Class TAF
java.lang.Object
org.deltava.beans.wx.WeatherDataBean
org.deltava.beans.wx.TAF
- All Implemented Interfaces:
Serializable
,Comparable<WeatherDataBean>
,GeoLocation
,MapEntry
,MarkerMapEntry
,Cacheable
A bean to store Terminal Area Forecast data.
- Since:
- 2.2
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.beans.wx.WeatherDataBean
WeatherDataBean.Type
-
Field Summary
Fields inherited from interface org.deltava.beans.GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if this is a TAF amended since original issue.Returns the icon color for this entry if displayed in a Google Map.getType()
Returns the data type.int
hashCode()
void
setAmended
(boolean isAmended) Sets whether this is a TAF amended since original issue.Methods inherited from class org.deltava.beans.wx.WeatherDataBean
cacheKey, compareTo, create, equals, getCode, getCreatedOn, getData, getDate, getInfoBox, getLatitude, getLongitude, getName, setAirport, setAirport, setData, setDate, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.GeoLocation
distanceFeet, distanceTo
-
Constructor Details
-
TAF
public TAF()
-
-
Method Details
-
getIconColor
Description copied from interface:MarkerMapEntry
Returns the icon color for this entry if displayed in a Google Map.- Returns:
- the icon color
-
getType
Description copied from class:WeatherDataBean
Returns the data type.- Specified by:
getType
in classWeatherDataBean
- Returns:
- the data type
-
hashCode
public int hashCode()- Overrides:
hashCode
in classWeatherDataBean
-
getAmended
public boolean getAmended()Returns if this is a TAF amended since original issue.- Returns:
- TRUE if amended, otherwise FALSE
-
setAmended
public void setAmended(boolean isAmended) Sets whether this is a TAF amended since original issue.- Parameters:
isAmended
- TRUE if amended, otherwise FALSE
-