Class GroundMapEntry
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
org.deltava.beans.acars.GroundMapEntry
- All Implemented Interfaces:
Serializable, Comparable<Object>, GeoLocation, IDBean, MapEntry, MarkerMapEntry, Cacheable
- Direct Known Subclasses:
ATCMapEntry, DispatchMapEntry
An ACARS Map Entry bean for ground connections.
- Since:
- 4.0
- Version:
- 4.0
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ACARSMapEntry
ACARSMapEntry.EntryType -
Field Summary
Fields inherited from class ACARSMapEntry
_betaBuild, _busy, _clientBuild, _pos, _usrFields inherited from interface GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGroundMapEntry(Pilot usr, GeoLocation loc) Creates the bean. -
Method Summary
Methods inherited from class ACARSMapEntry
getLatitude, getLocation, getLongitude, getPilot, getType, isBusy, setBusy, setClientBuildMethods inherited from class DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GeoLocation
distanceFeet, distanceToMethods inherited from interface MapEntry
getInfoBoxMethods inherited from interface MarkerMapEntry
getIconColor
-
Constructor Details
-
GroundMapEntry
Creates the bean.- Parameters:
usr- the connected Pilotloc- the location
-
-
Method Details
-
getRange
public int getRange()Returns the service range.- Returns:
- the range in miles
-
setRange
public void setRange(int range) Updates the service range.- Parameters:
range- the range radius in miles
-