|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.nas.airport.runway.AirportRwyID
public class AirportRwyID
Defines an AirportRwyID (long runway ID) for a unique runway identifier. The format of this identifier isSee the source AirportRwyID.java/ : e.g., EWR/04L. This is used because there can be airports near each other with runways having the same RunwayID, since the runway ID is usually named for the runway's magnetic heading. However, if the airport ID is used as a prefix, the identifier is unique.
| Field Summary | |
|---|---|
protected AirportID |
airportID
|
protected java.lang.String |
airportRwyID
|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
protected RunwayID |
runwayID
|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
AirportRwyID(AirportID airportID,
RunwayID runwayID)
Constructor for an AirportRwyID. |
|
AirportRwyID(java.lang.String airportRunwayName)
Constructor for an AirportRwyID |
|
AirportRwyID(java.lang.String airportName,
java.lang.String runwayName)
Constructor for an AirportRwyID. |
|
| Method Summary | |
|---|---|
boolean |
equals(AirportRwyID rwyID2)
Returns boolean indicating whether runway IDs are for the same runway. |
AirportID |
getAirportID()
Returns the AirportID of the airport associated with this runway. |
RunwayID |
getRunwayID()
Returns the RunwayID representation of the AirportRwyID. |
java.lang.String |
toString()
Returns the AirportRwyID (unique runway ID) as a String. |
| 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
protected java.lang.String airportRwyID
protected RunwayID runwayID
protected AirportID airportID
| Constructor Detail |
|---|
public AirportRwyID(java.lang.String airportName,
java.lang.String runwayName)
runwayID - The AirportRwyID (runway ID).
public AirportRwyID(java.lang.String airportRunwayName)
throws java.lang.Exception
airportRunwayName -
java.lang.Exception - if not in the "apt/rwy" format
public AirportRwyID(AirportID airportID,
RunwayID runwayID)
runwayID - The AirportRwyID (runway ID).| Method Detail |
|---|
public boolean equals(AirportRwyID rwyID2)
rwyID2 - The runway ID to check for equality to this runway ID.
public AirportID getAirportID()
public RunwayID getRunwayID()
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 | |||||||||