|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.schedule.PartnerAirline
public class PartnerAirline
A bean to store codeshare flight number data.
| Field Summary | |
|---|---|
static PartnerAirline |
IGNORE
Special entry to ignore/discard imported schedule data. |
| Constructor Summary | |
|---|---|
PartnerAirline(Airline a,
int startFlight,
int endFlight)
Populates the bean for alll import filenames. |
|
PartnerAirline(Airline a,
int startFlight,
int endFlight,
String fileName)
Populates the bean. |
|
| Method Summary | |
|---|---|
boolean |
contains(int flightNumber)
Returns whether a flight number maps to this Airline. |
boolean |
equals(Object o2)
Compares two Partner Airlines by comparing the airline codes. |
Airline |
getAirline()
Returns the Airline bean. |
int |
hashCode()
|
boolean |
includesFile(String fileName)
Returns whether this Partner Airline data applies to a particular import file. |
void |
setFileName(String fName)
Sets the import file name associated with this partner airline mapping. |
String |
toString()
Returns the airline code, flight range and file name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PartnerAirline IGNORE
| Constructor Detail |
|---|
public PartnerAirline(Airline a,
int startFlight,
int endFlight,
String fileName)
a - the Airline beanstartFlight - the first flight number served by this AirlineendFlight - the first flight number served by this AirlinefileName - the import file name to apply this partner airline mapping to
PartnerAirline(Airline a,
int startFlight,
int endFlight)
a - the Airline beanstartFlight - the first flight number served by this AirlineendFlight - the first flight number served by this Airline| Method Detail |
|---|
public boolean contains(int flightNumber)
flightNumber - the flight number
public Airline getAirline()
public boolean includesFile(String fileName)
fileName - the import file name
public void setFileName(String fName)
fName - the file name, or null/* if applicable to allpublic boolean equals(Object o2)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||