Appointments remove existing appointments and check

This preview shows 5 out of 9 pages.

appointments, remove existing appointments, and check other users’  calendars to see if a time-slot is empty.    Each appointment has a start-time and an end-time, a list of  participants, and a location. user calendar appointments one-time appts recurring appts time-slot password start-time end-time participants location
Image of page 5

Subscribe to view the full document.

Step #1b: Identify Objects Each user’s calendar should contain appointments for that user.                     There are two different types of appointments, one-time appts  and recurring appts.                                        The user of the calendar  must supply a password before accessing the calendar.  Users of the calendar can get a list of appointments for the day, add new  appointments, remove existing appointments, and check other users’  calendars to see if a time-slot is empty.    Each appointment has a start-time and an end-time, a list of  participants, and a location. user calendar appointments one-time appts recurring appts time-slot password start-time end-time participants location Now that we know our nouns, let’s  identify potential classes. We don’t need classes for every noun, just  for those key components of our system… Which nouns should we turn into  classes? Calendar Appointment Recurring Appointment One-time Appointment
Image of page 6
Step #2a: Identify Operations Next we have to determine  what actions need to be  performed by the system.  To do this, we identify all of the  verb  phrases  in the specification!  Each user’s calendar should contain appointments for that user.                     There are two different types of appointments, one-time appts  and recurring appts.                                        The user of the calendar  must supply a password before accessing the calendar.  Users of the calendar can get a list of appointments for the day, add new  appointments, remove existing appointments, and check other users’  calendars to see if a time-slot is empty.    Each appointment has a start-time and an end-time, a list of  participants, and a location. get a list of appointments appointments supply a password check other users’ calendars add new appointments remove existing has a start-time and an end-time, a list of participants, and a location.
Image of page 7

Subscribe to view the full document.

Step #2b: Associate Operations w/Classes Next we have to determine  what actions  go  with  which classes (let’s just look at the first two) get a list of appointments supply a password check other users’ calendars add new appointments remove existing Verbs Calendar Appointment list getListOfAppts(void) bool addAppt(Appointment *addme)
Image of page 8
Image of page 9
You've reached the end of this preview.
  • Spring '09
  • John
  • Recursion, Grendel, The Queen, Albert Brandy Carol David Eugene Frank Gordon Grendel

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern