001package edu.pdx.cs410J.airline; 002 003import edu.pdx.cs410J.AbstractAirline; 004 005import java.util.Collection; 006 007public class Airline extends AbstractAirline<Flight> { 008 private final String name; 009 010 public Airline(String name) { 011 this.name = name; 012 } 013 014 @Override 015 public String getName() { 016 return this.name; 017 } 018 019 @Override 020 public void addFlight(Flight flight) { 021 throw new UnsupportedOperationException("This method is not implemented yet"); 022 } 023 024 @Override 025 public Collection<Flight> getFlights() { 026 throw new UnsupportedOperationException("This method is not implemented yet"); 027 } 028}