faa.tg.aidl
Class AidlGlideSlope

java.lang.Object
  extended by faa.tg.aidl.AidlGlideSlope
All Implemented Interfaces:
AidlObject, HasName, Filterable, ManagedObject, java.io.Serializable

public class AidlGlideSlope
extends java.lang.Object
implements AidlObject

Defines a aidl glide slope See the source AidlGlideSlope.java

Version:
$Id: AidlGlideSlope.java,v 1.4 2008/06/03 19:33:03 samf Exp $
Author:
Sam Fullerton, L-3 Titan
See Also:
Serialized Form

Field Summary
private  Altitude alt
           
private  Angle angle
           
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  AidlFix fix
           
private  int index
           
private  java.lang.String name
           
static java.lang.String NAME_SUFFIX
           
(package private) static long serialVersionUID
           
private  Specifier type
           
 
Constructor Summary
AidlGlideSlope(AidlFix fix, Altitude altitude, Angle angle, Specifier type, int index)
          Constructor
AidlGlideSlope(AidlFix fix, Runway runway, Position acPosition, int index)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns whether this object is equal to the given object
 int getIndex()
          Returns Aidl index
 java.lang.String getName()
          Returns a unique name Required by HasName inteface
 java.lang.String toString()
          Returns a string representation of this object
 Element toXml()
          Retuns an XML representation of this object
 
Methods inherited from class java.lang.Object
clone, 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

fix

private AidlFix fix

angle

private Angle angle

alt

private Altitude alt

type

private Specifier type

index

private int index

name

private java.lang.String name

NAME_SUFFIX

public static final java.lang.String NAME_SUFFIX
See Also:
Constant Field Values
Constructor Detail

AidlGlideSlope

public AidlGlideSlope(AidlFix fix,
                      Runway runway,
                      Position acPosition,
                      int index)
Constructor

Parameters:
fix - - the aidl fix where glide slope starts
runway - - the runway that contains the glide slope
acPosition - - the position of the aircraft when it intersected the glideslope
index - - the aidl index of the glide slope

AidlGlideSlope

public AidlGlideSlope(AidlFix fix,
                      Altitude altitude,
                      Angle angle,
                      Specifier type,
                      int index)
Constructor

Parameters:
fix - - the aidl fix where glide slope starts
altitude - - the altitude of the glide slope
angle - - the angle of the glide slope
type - - the type of altitude
index - - the aidl index of the glide slope
Method Detail

equals

public boolean equals(java.lang.Object obj)
Returns whether this object is equal to the given object

Specified by:
equals in interface AidlObject
Overrides:
equals in class java.lang.Object
Parameters:
obj - - the object to check

getIndex

public int getIndex()
Returns Aidl index

Specified by:
getIndex in interface AidlObject

getName

public java.lang.String getName()
Returns a unique name Required by HasName inteface

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

toXml

public Element toXml()
Retuns an XML representation of this object

Specified by:
toXml in interface AidlObject

toString

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

Specified by:
toString in interface AidlObject
Overrides:
toString in class java.lang.Object