Class RunwayDistance
java.lang.Object
org.deltava.beans.navdata.NavigationDataBean
org.deltava.beans.navdata.NavigationFrequencyBean
org.deltava.beans.navdata.Runway
org.deltava.beans.acars.RunwayDistance
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<NavigationDataBean>, ComboAlias, RunwayLengthUsage, GeoLocation, IconMapEntry, LabelMapEntry, MapEntry, MarkerMapEntry, Cacheable
A bean to store ACARS takeoff/landing runway data.
- Since:
- 2.6
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from interface GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(RunwayDistance rd2) Compares two RunwayDistance beans by comparing Runway ID and distance.intReturns the runway usage from the threshold.Methods inherited from class Runway
contains, equals, equals, getAlternateCode, getComboAlias, getComboName, getHeading, getIconCode, getIconColor, getInfoBox, getLabel, getLength, getMagVar, getPaletteCode, getSimulator, getSurface, getThreshold, getThresholdLength, getWidth, hashCode, isAltNew, matches, setAlternateCode, setHeading, setLength, setMagVar, setSimulator, setSurface, setThresholdLength, setWidthMethods inherited from class NavigationFrequencyBean
getFrequency, setFrequencyMethods inherited from class NavigationDataBean
cacheKey, clone, compareTo, create, create, getAirway, getCode, getHTMLPosition, getHTMLTitle, getLatitude, getLongitude, getName, getRegion, getType, isCoordinates, isInTerminalRoute, setAirway, setCode, setName, setRegion, toStringMethods inherited from interface GeoLocation
distanceFeet, distanceToMethods inherited from interface RunwayLengthUsage
getLength, getPercentage
-
Constructor Details
-
Method Details
-
getDistance
public int getDistance()Description copied from interface:RunwayLengthUsageReturns the runway usage from the threshold.- Specified by:
getDistancein interfaceRunwayLengthUsage- Returns:
- the distance in feet.
-
equals
Compares two RunwayDistance beans by comparing Runway ID and distance.- Parameters:
rd2- the RunwayDistance bean- Returns:
- TRUE if the runway and distance match, otherwise FALSE
-