|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.aircraft.AcType
public class AcType
Defines an AcType (aircraft type) class: does not distinguish between the actual aircraft type imported from the flight plan (used by Flight) and the simulator's aircraft type equivalent that determines the flight characteristics to use (used by Aircraft).See the source AcType.java
faa.tg.filters.interfaces.HasAcType,
Serialized Form| Field Summary | |
|---|---|
protected java.lang.String |
acType
|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
protected AircraftEquipment |
equip
Equipment code for the aircraft type, if available, or else null. |
protected char |
equipCode
Deprecated. Keep for recordings made before May 10 2008 |
static java.lang.String |
SEPARATOR
|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
AcType(java.lang.String acTypeStr)
Constructor for an AcType that takes a String that should contain the UFP aircraft type, followed by a slash ('/'), followed by the navigation equipment type. |
|
AcType(java.lang.String ufpAcType,
java.lang.String navEquip)
Constructor for an AcType that has a separate navigation type. |
|
| Method Summary | |
|---|---|
char |
getEquipCode()
Deprecated. use getEquipmentString instead |
AircraftEquipment |
getEquipment()
Returns the equipment code if available, or else null. |
java.lang.String |
getEquipmentString()
|
private void |
readObject(java.io.ObjectInputStream in)
Read an object from the object input stream. |
java.lang.String |
toString()
Returns the AcType (aircraft type) as a String. |
private void |
validate(java.lang.String acTypeStr)
Validates the AcType (aircraft type identifier) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
public static final java.lang.String SEPARATOR
protected java.lang.String acType
protected char equipCode
AircraftState.getUfpAcType(),
Flight.getAcType(),
FlightState.getAcType()protected AircraftEquipment equip
AircraftState.getUfpAcType(),
Flight.getAcType(),
FlightState.getAcType()| Constructor Detail |
|---|
public AcType(java.lang.String ufpAcType,
java.lang.String navEquip)
ufpAcType - The aircraft type from the UFP (Universal Flight Plan).navEquip - The navigation equipment type from the UFP.public AcType(java.lang.String acTypeStr)
acTypeStr - The aircraft type.| Method Detail |
|---|
private void validate(java.lang.String acTypeStr)
acType - The AcType (aircraft type) to validate.
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - The object input stream to read.
java.io.IOException - if an input/output error occurs
java.lang.ClassNotFoundException - if attempted to read an unknown classpublic char getEquipCode()
AircraftState.getUfpAcType(),
Flight.getAcType(),
FlightState.getAcType()public AircraftEquipment getEquipment()
AircraftState.getUfpAcType(),
Flight.getAcType(),
FlightState.getAcType()public java.lang.String getEquipmentString()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||