|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.pdx.cs399J.AbstractAirline
public abstract class AbstractAirline
This class represents an airline. Each airline has a name and consists of multiple flights.
| Constructor Summary | |
|---|---|
AbstractAirline()
|
|
| Method Summary | |
|---|---|
abstract void |
addFlight(AbstractFlight flight)
Adds a flight to this airline. |
abstract Collection |
getFlights()
Returns all of this airline's flights. |
abstract String |
getName()
Returns the name of this airline. |
String |
toString()
Returns a brief textual description of this airline. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAirline()
| Method Detail |
|---|
public abstract String getName()
public abstract void addFlight(AbstractFlight flight)
public abstract Collection getFlights()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||