package edu.pdx.cs410J.chances;

import edu.pdx.cs410J.AbstractAppointmentBook;

import java.util.Collection;

/**
 * @author chancesnow
 */
public class AppointmentBook extends AbstractAppointmentBook<Appointment>
{
    @Override
    public String getOwnerName()
    {
        return null;
    }

    @Override
    public Collection<Appointment> getAppointments()
    {
        return null;
    }

    @Override
    public void addAppointment(Appointment appointment)
    {

    }
}

@@ -74,16 +74,44 @@
 tBook;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -239,10 +239,416 @@
 ent%3E
-%0A%7B
+ %7B%0A    private String owner;%0A    private ArrayList%3CAppointment%3E appointments;%0A%0A    /**%0A     * Construct a new appointment book given its owner.%0A     *%0A     * @param owner The book's owner%0A     */%0A    public AppointmentBook(String owner)%0A    %7B%0A        this.owner = owner;%0A        this.appointments = new ArrayList%3C%3E();%0A    %7D%0A%0A    /**%0A     * Get the owner's name.%0A     *%0A     * @return The owner's name%0A     */
 %0A   
@@ -694,42 +694,164 @@
 me()
+ %7B
 %0A    
-%7B%0A
    
+ return owner;%0A    %7D%0A%0A    /**%0A     * Get the appointments added to this appointment book.%0A     *%0A
      
+* @
 return 
-null;
+Collection of appointments
 %0A    
-%7D%0A
+ */
 %0A   
@@ -913,20 +913,16 @@
 tments()
-%0A   
  %7B%0A     
@@ -935,20 +935,147 @@
 urn 
-null;%0A    %7D%0A
+appointments;%0A    %7D%0A%0A    /**%0A     * Add an appointment to this appointment book%0A     *%0A     * @param appointment Appointment to add%0A     */
 %0A   
@@ -1140,23 +1140,62 @@
 intment)
+ %7B
 %0A    
-%7B%0A
+    this.appointments.add(appointment);
 %0A    %7D%0A%7D

Implement appointment book