faa.tg.aircraft
Class AircraftTypeProfile

java.lang.Object
  extended by faa.tg.aircraft.AircraftTypeProfile
All Implemented Interfaces:
DraStorable, TextWritable, HasName, Filterable, Recordable, ManagedObject, Immutable, java.io.Serializable, java.lang.Cloneable

public class AircraftTypeProfile
extends java.lang.Object
implements Immutable, TextWritable, DraStorable

This class represents the data that is in the aircraft baseline. It is used primarily by the dynamics classes.

See the source: AircraftTypeProfile.java

Version:
$Id: AircraftTypeProfile.java,v 3.11 2009/01/21 22:47:55 lykensj Exp $
Author:
jimh
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID.
private  AircraftCapacity mAcCapacity
           
private  AircraftProperties mAcProps
           
private  java.lang.String mAcType
           
private  Airframe mAirframe
           
private  Weight mEmptyWeight
           
private  Engine mEngine
           
private  Capacity mFuelCapacity
           
private  Gains mGains
           
private  InertiaTensor mInertiaTensors
           
private  LateralDerivativeInputs mLdi
           
private  Weight mMaxTakeoffWeight
           
private  Capacity mPayloadCapacity
           
private  PerformanceParameters mPerformanceParameters
           
private  WeightClass mWeightClass
           
(package private) static long serialVersionUID
           
 
Constructor Summary
AircraftTypeProfile(java.lang.String aAcType, AircraftTypeProfile aATP)
          This constructor is used to construct a new profile that is a copy of another profile but with a different aircraft type name.
AircraftTypeProfile(java.lang.String aAcType, Engine aEngine, Airframe aAirframe, Weight aEmptyWeight, Capacity aFuelCapacity, Capacity aPayloadCapacity, Weight aMaxTakeoffWeight, PerformanceParameters aPerformanceParameters, Gains aGains, LateralDerivativeInputs aLdi, InertiaTensor aInertiaTensor, AircraftProperties aAcProps)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Returns this object because it is Immutable: don't need to clone it.
 java.lang.String getAcType()
          Returns the aircraft type
 AircraftCapacity getAircraftCapacity()
          Returns the aircraft type's capacity
 AircraftProperties getAircraftProperties()
           
 Airframe getAirframe()
          Returns the aircraft type's airframe
 Weight getEmptyWeight()
          Returns the aircraft type's empty weight
 Engine getEngine()
          Returns the aircraft type's engine
 Capacity getFuelCapacity()
          Returns the aircraft type's fuel capacity
 Gains getGains()
          Returns the aircraft type's gains
 InertiaTensor getInertiaTensor()
           
 LateralDerivativeInputs getLateralDerivativeInputs()
          Returns the aircraft type's lateral derivative inputs
 Weight getMaxTakeoffWeight()
          Returns the aircraft type's max take off weight
 java.lang.String getName()
          Returns the name of the aircraft type profile as a unique key.
 Capacity getPayloadCapacity()
          Returns the aircraft type's payload capacity
 PerformanceParameters getPerformanceParameters()
          Returns the aircraft type's performance parameters
 WeightClass getWeightClass()
          Returns the aircraft type's weight class
 java.lang.String toDraText()
          required in order to implement text writable interface
 java.lang.String toString()
          Returns a string representation of the object
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

mAcType

private java.lang.String mAcType

mEngine

private Engine mEngine

mAirframe

private Airframe mAirframe

mEmptyWeight

private Weight mEmptyWeight

mMaxTakeoffWeight

private Weight mMaxTakeoffWeight

mFuelCapacity

private Capacity mFuelCapacity

mPayloadCapacity

private Capacity mPayloadCapacity

mAcCapacity

private AircraftCapacity mAcCapacity

mWeightClass

private WeightClass mWeightClass

mPerformanceParameters

private PerformanceParameters mPerformanceParameters

mGains

private Gains mGains

mLdi

private LateralDerivativeInputs mLdi

mAcProps

private transient AircraftProperties mAcProps

mInertiaTensors

private transient InertiaTensor mInertiaTensors
Constructor Detail

AircraftTypeProfile

public AircraftTypeProfile(java.lang.String aAcType,
                           Engine aEngine,
                           Airframe aAirframe,
                           Weight aEmptyWeight,
                           Capacity aFuelCapacity,
                           Capacity aPayloadCapacity,
                           Weight aMaxTakeoffWeight,
                           PerformanceParameters aPerformanceParameters,
                           Gains aGains,
                           LateralDerivativeInputs aLdi,
                           InertiaTensor aInertiaTensor,
                           AircraftProperties aAcProps)
Constructor. Mostly it just stores the variables that are passed in.

Parameters:
aAcType - the name of the aircraft type
aEngine - the aircraft's engine
aAirframe - the aircraft's airframe
aEmptyWeight - the aircraft's empty weight
aFuelCapacity - the aircraft's fuel capacity
aPayloadCapacity - the aircraft's payload capacity
aMaxTakeoffWeight - the aircraft's max take off weight
aPerformanceParameters - the aircraft's performance parametes
aGains - the aircraft's gains
aLdi - the aircraft's lateral derivative inputs

AircraftTypeProfile

public AircraftTypeProfile(java.lang.String aAcType,
                           AircraftTypeProfile aATP)
This constructor is used to construct a new profile that is a copy of another profile but with a different aircraft type name.

Parameters:
aAcType - the aircraft type
aATP - the profile of the aircraft to which it is equivalent
Method Detail

getAcType

public java.lang.String getAcType()
Returns the aircraft type

Returns:
the aircraft type

getEngine

public Engine getEngine()
Returns the aircraft type's engine

Returns:
the aircraft type's engine

getAirframe

public Airframe getAirframe()
Returns the aircraft type's airframe

Returns:
the aircraft type's airframe

getEmptyWeight

public Weight getEmptyWeight()
Returns the aircraft type's empty weight

Returns:
the aircraft type's empty weight

getMaxTakeoffWeight

public Weight getMaxTakeoffWeight()
Returns the aircraft type's max take off weight

Returns:
the aircraft type's max take off weight

getFuelCapacity

public Capacity getFuelCapacity()
Returns the aircraft type's fuel capacity

Returns:
the aircraft type's fuel capacity

getPayloadCapacity

public Capacity getPayloadCapacity()
Returns the aircraft type's payload capacity

Returns:
the aircraft type's payload capacity

getAircraftCapacity

public AircraftCapacity getAircraftCapacity()
Returns the aircraft type's capacity

Returns:
the aircraft type's capacity

getWeightClass

public WeightClass getWeightClass()
Returns the aircraft type's weight class

Returns:
the aircraft type's weight class

getPerformanceParameters

public PerformanceParameters getPerformanceParameters()
Returns the aircraft type's performance parameters

Returns:
the aircraft type's performance parameters

getGains

public Gains getGains()
Returns the aircraft type's gains

Returns:
the aircraft type's gains

getLateralDerivativeInputs

public LateralDerivativeInputs getLateralDerivativeInputs()
Returns the aircraft type's lateral derivative inputs

Returns:
the aircraft type's lateral derivative inputs

toDraText

public java.lang.String toDraText()
required in order to implement text writable interface

Specified by:
toDraText in interface TextWritable
Returns:
Returns a DR&A format text output string.

toString

public java.lang.String toString()
Returns a string representation of the object

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object

getName

public java.lang.String getName()
Returns the name of the aircraft type profile as a unique key.

Specified by:
getName in interface DraStorable
Specified by:
getName in interface ManagedObject
Returns:
Returns the name of the object.

getInertiaTensor

public InertiaTensor getInertiaTensor()

getAircraftProperties

public AircraftProperties getAircraftProperties()

clone

public java.lang.Object clone()
Returns this object because it is Immutable: don't need to clone it.

Specified by:
clone in interface DraStorable
Overrides:
clone in class java.lang.Object
Returns:
Returns a clone of the object.