// Class Interface for Appointments
// File:    Apppointment.java
// Author:  Henry M. Walker
// Date:    March 14, 2002

// List ADT header
public interface Appointment {
    String makeAppt (String startTime, String endTime, // the beginning and ending times
                 String eMailAddr, // the e-mail address(es) of those with this appointment
                 String annotation,// a publicly displayable note regarding this appointment
                 String note,      // a private comment for the owner of this appointment
                 char userCode// o = owner, l = logged-in user, u = unknown user
                 );
        // pre:  none
        // post: the appointment is updated as appropriate for the appointment type
        //           and user category;
        //       returns string "appointment made" or an error message string

    void printAppt (char userCode);
        // pre:  userCode is as described for method makeAppt
        // post: Appointment information are printed on System.out:
        //       owner receives full information for any appointment
        //       logged-in user receives public information
        //       unknown-information receives summary information on type of appointment and
        //           availability

} // Appointment

