|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.schedule.AirportServiceMap
public class AirportServiceMap
A bean to track which Airports are served by particular Airlines.
| Constructor Summary | |
|---|---|
AirportServiceMap()
|
|
| Method Summary | |
|---|---|
void |
add(Airline a,
Airport ap)
Adds a particular Airport/Airline pair. |
Collection<String> |
getAirlineCodes(Airport a)
Returns the codes of all Airlines serving a particular Airport. |
boolean |
isServiced(Airport ap,
Airline a)
Queries whether a particular Airline serves a particular Airport. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AirportServiceMap()
| Method Detail |
|---|
public void add(Airline a,
Airport ap)
a - the Airline beanap - the Airport bean
public boolean isServiced(Airport ap,
Airline a)
ap - the Airport beana - the Airline bean
public Collection<String> getAirlineCodes(Airport a)
a - the Airport bean
Airline.getCode(),
Airport.setAirlines(Collection)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||