Class ACARSMapEntry
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
- All Implemented Interfaces:
Serializable,Comparable<Object>,GeoLocation,IDBean,MapEntry,MarkerMapEntry,Cacheable
- Direct Known Subclasses:
GroundMapEntry,RouteEntry
An abstract class to describe ACARS map entries.
- Since:
- 2.2
- Version:
- 7.2
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected booleanprotected intprotected GeoLocationprotected PilotFields 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 TypeMethodDescriptionfinal doubleReturns the latitude of this location.Returns the entry's position.final doubleReturns the longitude of this location.getPilot()Returns the Pilot.abstract ACARSMapEntry.EntryTypegetType()Returns the map entry type.booleanisBusy()Returns whether the user is marked Busy.voidsetBusy(boolean isBusy) Marks the user as Busy.voidsetClientBuild(int buildNumber, int beta) Sets the ACARS client version used.Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.GeoLocation
distanceFeet, distanceToMethods inherited from interface org.deltava.beans.MapEntry
getInfoBoxMethods inherited from interface org.deltava.beans.MarkerMapEntry
getIconColor
-
Field Details
-
_pos
-
_usr
-
_clientBuild
protected int _clientBuild -
_betaBuild
protected int _betaBuild -
_busy
protected boolean _busy
-
-
Constructor Details
-
ACARSMapEntry
Creates the map entry.- Parameters:
loc- the entry location
-
-
Method Details
-
getLocation
-
getLatitude
public final double getLatitude()Description copied from interface:GeoLocationReturns the latitude of this location.- Specified by:
getLatitudein interfaceGeoLocation- Returns:
- the latitude in degrees
-
getLongitude
public final double getLongitude()Description copied from interface:GeoLocationReturns the longitude of this location.- Specified by:
getLongitudein interfaceGeoLocation- Returns:
- the longitude in degrees
-
getPilot
-
isBusy
public boolean isBusy()Returns whether the user is marked Busy.- Returns:
- TRUE if Busy, otherwise FALSE
-
getType
Returns the map entry type.- Returns:
- the EntryType
-
setClientBuild
public void setClientBuild(int buildNumber, int beta) Sets the ACARS client version used.- Parameters:
buildNumber- the client build numberbeta- the beta version number
-
setBusy
public void setBusy(boolean isBusy) Marks the user as Busy.- Parameters:
isBusy- TRUE if Busy, otherwise FALSE
-