|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.faa.flyfaa.Delay
Describes a Delay object, representing an airport which is experiencing delays. The object contains the airport id, the amount of arrival delays in minutes, the amount of departure delays in minutes, and the reason. The DelayRecords array is filled with Delay objects by the setDelayRecords function using the following SQL:
select arpt, ad, dd, reason from ois_delay where active = 1
order by arpt
These objects are used by the dynamic maps to generate tooltips and by the text-only pages to report the delay information.
Field Summary | |
private int |
AD
Amount of arrival delay in minutes |
private java.lang.String |
ARPT
Airport ID where this delay is being experienced |
private int |
DD
Amount of departure delay in minutes |
private java.lang.String |
reason
Reason for the delay |
Constructor Summary | |
Delay()
Delay constructor method. |
|
Delay(java.lang.String ARPT,
int nAD,
int nDD,
java.lang.String strReason)
Delay constructor method with parameters. |
Method Summary | |
int |
getAD()
Gets the Arrival Delay for this delay. |
java.lang.String |
getARPT()
Gets the Airport ID for this delay. |
int |
getDD()
Gets the Departure Delay for this delay. |
java.lang.String |
getReason()
Gets the reason for this delay. |
protected void |
setAD(int ad)
Sets the Arrival Delay for this delay. |
protected void |
setARPT(java.lang.String id)
Sets the Airport ID for this delay. |
protected void |
setDD(int dd)
Sets the Departure Delay for this delay. |
protected void |
setReason(java.lang.String reason)
Sets the reason for this delay. |
java.lang.String |
toString()
Gets the string representation of this delay. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String ARPT
private int AD
private int DD
private java.lang.String reason
Constructor Detail |
public Delay()
public Delay(java.lang.String ARPT, int nAD, int nDD, java.lang.String strReason)
ARPT
- String containing the airport ID for this delaynAD
- int containing the number of minutes of arrival delaynDD
- int containing the number of minutes of departure delaystrReason
- String containing the reason for this delayMethod Detail |
public java.lang.String getARPT()
String
containing the Delay's airport IDprotected void setARPT(java.lang.String id)
id
- String containing the airport ID for this delaypublic int getAD()
int
containing the amount of this Delay's arrival delayprotected void setAD(int ad)
ad
- int containing the amount of arrival delay for this delaypublic int getDD()
int
containing the amount of this Delay's departure delayprotected void setDD(int dd)
dd
- int containing the amount of this Delay's departure delayprotected void setReason(java.lang.String reason)
id
- String containing the reason for this delaypublic java.lang.String getReason()
String
containing the reason for this Delaypublic java.lang.String toString()
toString
in class java.lang.Object
String
containing the string representation of this Delay
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |