|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
public abstract class ACARSMapEntry
An abstract class to describe ACARS Pilot/Dispatcher map entries.
| Field Summary | |
|---|---|
protected int |
_betaBuild
|
protected boolean |
_busy
|
protected int |
_clientBuild
|
protected GeoLocation |
_pos
|
protected Pilot |
_usr
|
| Fields inherited from interface org.deltava.beans.MapEntry |
|---|
BLUE, BROWN, COLORS, GREEN, GREY, LINECOLORS, ORANGE, PURPLE, RED, WHITE, YELLOW |
| Fields inherited from interface org.deltava.beans.GeoLocation |
|---|
ALL, DEGREE_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE |
| Constructor Summary | |
|---|---|
protected |
ACARSMapEntry(GeoLocation loc)
Creates the map entry. |
| Method Summary | |
|---|---|
double |
getLatitude()
Returns the latitude of this location. |
GeoLocation |
getLocation()
Returns the entry's position. |
double |
getLongitude()
Returns the longitude of this location. |
Pilot |
getPilot()
Returns the Pilot. |
boolean |
isBusy()
Returns whether the user is marked Busy. |
abstract boolean |
isDispatch()
Returns whether this entry is a Dispatcher. |
void |
setBusy(boolean isBusy)
Marks the user as Busy. |
void |
setClientBuild(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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deltava.beans.MarkerMapEntry |
|---|
getIconColor |
| Methods inherited from interface org.deltava.beans.MapEntry |
|---|
getInfoBox |
| Field Detail |
|---|
protected GeoLocation _pos
protected Pilot _usr
protected int _clientBuild
protected int _betaBuild
protected boolean _busy
| Constructor Detail |
|---|
protected ACARSMapEntry(GeoLocation loc)
loc - the entry location| Method Detail |
|---|
public GeoLocation getLocation()
public final double getLatitude()
GeoLocation
getLatitude in interface GeoLocationpublic final double getLongitude()
GeoLocation
getLongitude in interface GeoLocationpublic Pilot getPilot()
public boolean isBusy()
public abstract boolean isDispatch()
public void setClientBuild(int buildNumber,
int beta)
buildNumber - the client build numberbeta - the beta version numberpublic void setBusy(boolean isBusy)
isBusy - TRUE if Busy, otherwise FALSE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||