faa.tg.recording.state
Class AcCruiseSpeedActionState

java.lang.Object
  extended by faa.tg.recording.state.State
      extended by faa.tg.recording.state.SimEventActionState
          extended by faa.tg.recording.state.AcCruiseSpeedActionState
All Implemented Interfaces:
TextWritable, HasName, HasSimTime, Filterable, Recordable, ManagedObject, java.io.Serializable

public class AcCruiseSpeedActionState
extends SimEventActionState
implements TextWritable

 Contains the state of a AcCruiseSpeedAction SimEvent object.
 
See the source: AcCruiseSpeedActionState.java

Version:
$Id: AcCruiseSpeedActionState.java,v 3.2 2008/05/16 15:46:16 lykensj Exp $
Author:
Dan Warburton, FAA/ACT-510
See Also:
Serialized Form

Field Summary
private  java.lang.String aircraftID
          The name of the aircraft ID as a String.
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
(package private) static long serialVersionUID
           
 
Constructor Summary
AcCruiseSpeedActionState(java.lang.String aircraftID, SimulationTime timeStamp)
          Constructs the AcCruiseSpeedActionState; needs the CommandLineState.
 
Method Summary
 java.lang.String getAircraftID()
          Returns the ACID as a String.
 java.lang.String getName()
          Returns SP_CMD_ and the aircraft ID (if there is one) as a name.
 void setAircraftID(java.lang.String aircraftID)
          Sets the aircraft ID String.
 java.lang.String toDraText()
          Prints DR&A text information to a String.
 
Methods inherited from class faa.tg.recording.state.SimEventActionState
getSimTime, toString
 
Methods inherited from class java.lang.Object
clone, 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

aircraftID

private java.lang.String aircraftID
The name of the aircraft ID as a String.

Constructor Detail

AcCruiseSpeedActionState

public AcCruiseSpeedActionState(java.lang.String aircraftID,
                                SimulationTime timeStamp)
Constructs the AcCruiseSpeedActionState; needs the CommandLineState.

Parameters:
aircraftID - the ID of the target aircraft.
timeStamp - the current time of the Scenario.
Method Detail

getAircraftID

public java.lang.String getAircraftID()
Returns the ACID as a String.

Returns:
Returns the ACID as a String.

setAircraftID

public void setAircraftID(java.lang.String aircraftID)
Sets the aircraft ID String.

Parameters:
aircraftID - The ACID as a String.

getName

public java.lang.String getName()
Returns SP_CMD_ and the aircraft ID (if there is one) as a name.

Specified by:
getName in interface ManagedObject
Overrides:
getName in class SimEventActionState
Returns:
Returns name unique to the class (or replacement of old object).

toDraText

public java.lang.String toDraText()
Prints DR&A text information to a String.

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