001package edu.pdx.cs410J.apptbook; 002 003import edu.pdx.cs410J.AbstractAppointmentBook; 004 005import java.util.Collection; 006 007public class AppointmentBook extends AbstractAppointmentBook<Appointment> { 008 private final String owner; 009 010 public AppointmentBook(String owner) { 011 this.owner = owner; 012 } 013 014 @Override 015 public String getOwnerName() { 016 return this.owner; 017 } 018 019 @Override 020 public Collection<Appointment> getAppointments() { 021 throw new UnsupportedOperationException("This method is not implemented yet"); 022 } 023 024 @Override 025 public void addAppointment(Appointment appt) { 026 throw new UnsupportedOperationException("This method is not implemented yet"); 027 } 028}