faa.tg.nas.airport
Class ScaAirport

java.lang.Object
  extended by faa.tg.nas.fix.Fix
      extended by faa.tg.nas.airport.Airport
          extended by faa.tg.nas.airport.ScaAirport
All Implemented Interfaces:
DraStorable, HasTextXY, TextWritable, HasAirport, HasName, HasPosition, Filterable, Locale, Recordable, ManagedObject, java.io.Serializable, java.lang.Cloneable

public class ScaAirport
extends Airport

 Contains information on an airport that is a Self-Controlled Airspace
 (SCA).  Subclasses the Airport class.
 This is provided for studies involving the Small Aircraft Transportation
 System (SATS).
 
See the source: ScaAirport.java

Version:
$Id: ScaAirport.java,v 3.3 2008/05/23 16:54:33 lykensj Exp $
Author:
Dana N. Whicker, TGF/Titan Corp, Fri May 14 2004
See Also:
Serialized Form

Field Summary
private  AmmMessageCenter ammMessageCenter
          The AmmMessageCenter that handles messages to and from the Airport Management Module (AMM) of a Self-Controlled Airspace (SCA).
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
(package private) static long serialVersionUID
           
 
Fields inherited from class faa.tg.nas.airport.Airport
airportID, runways
 
Fields inherited from class faa.tg.nas.fix.Fix
magDec
 
Constructor Summary
ScaAirport(Airport airport, AmmMessageCenter ammMessageCenter)
          Constructor for ScaAirport that duplicates a (non-geographic) Airport and sets the geographic features of the ScaAirport.
 
Method Summary
 AmmMessageCenter getAmmMessageCenter()
           
private  void readObject(java.io.ObjectInputStream in)
          Extra processing to try to recover the ammMessageCenter if possible.
 java.lang.String toDraText()
          Returns the ScaAirport information as a DR&A text String.
 
Methods inherited from class faa.tg.nas.airport.Airport
addRunway, getAirportID, getAirportName, getName, getNumberOfRunways, getRunwayByAirportRwyId, getRunwayByName, getRunways, getVorNavAid, hasRunways, latLonToXYCoordinate, toString, xyToPosition, xyToPosition
 
Methods inherited from class faa.tg.nas.fix.Fix
clone, equals, getIcaoCode, getMagneticDeclination, getPosition, getPublishedHoldIfApplicable, hashCode, setIcaoCode, setPublishedHold, toDraText
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface faa.tg.filters.attributes.HasPosition
getPosition
 
Methods inherited from interface faa.tg.dra.attributes.DraStorable
clone
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

ammMessageCenter

private transient AmmMessageCenter ammMessageCenter
The AmmMessageCenter that handles messages to and from the Airport Management Module (AMM) of a Self-Controlled Airspace (SCA). NOTE: is null if deserialized when Airspace.airports is not populated.

Constructor Detail

ScaAirport

public ScaAirport(Airport airport,
                  AmmMessageCenter ammMessageCenter)
Constructor for ScaAirport that duplicates a (non-geographic) Airport and sets the geographic features of the ScaAirport.

Parameters:
airport - Non-geographic airport object to base this ScaAirport on.
ammMessageCenter - The communications interface to the AMM.
Method Detail

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Extra processing to try to recover the ammMessageCenter if possible.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

getAmmMessageCenter

public AmmMessageCenter getAmmMessageCenter()
Returns:
Returns the lower altitude limit of the Airport, or null if airport's physical location is not defined.

toDraText

public java.lang.String toDraText()
Returns the ScaAirport information as a DR&A text String.

Specified by:
toDraText in interface TextWritable
Overrides:
toDraText in class Airport
Returns:
Returns information in DR&A text string format.