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 TypeMethodDescriptionbooleanReturns 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.inthashCode()voidsetAmended(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.GeoLocation
distanceFeet, distanceTo
-
Constructor Details
-
TAF
public TAF()
-
-
Method Details
-
getIconColor
Description copied from interface:MarkerMapEntryReturns the icon color for this entry if displayed in a Google Map.- Returns:
- the icon color
-
getType
Description copied from class:WeatherDataBeanReturns the data type.- Specified by:
getTypein classWeatherDataBean- Returns:
- the data type
-
hashCode
public int hashCode()- Overrides:
hashCodein 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
-