Package edu.pdx.cs410J.airline
Class Airline
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a flight to this airline.Returns all of this airline's flights.getName()
Returns the name of this airline.Methods inherited from class edu.pdx.cs410J.AbstractAirline
toString
-
Constructor Details
-
Airline
-
-
Method Details
-
getName
Description copied from class:AbstractAirline
Returns the name of this airline.- Specified by:
getName
in classAbstractAirline<Flight>
-
addFlight
Description copied from class:AbstractAirline
Adds a flight to this airline.- Specified by:
addFlight
in classAbstractAirline<Flight>
-
getFlights
Description copied from class:AbstractAirline
Returns all of this airline's flights.- Specified by:
getFlights
in classAbstractAirline<Flight>
-