public interface AppointmentData
Details of an Appointment or AppointmentRequest.
The data include a description and the expected duration. Think of a lesson
taking 45 minutes.
Another example is having a treatment at a dentist or a beauty parlor. The
duration and description are known, but there is no time or date
allocated yet.
- Author:
- Pieter van den Hombergh
p.vandenhombergh@fontys.nl
-
Method Summary
-
Method Details
-
duration
Duration duration()The duration of this appointment data.- Returns:
- the duration of the appointment.
-
description
String description()The description of the appointment.- Returns:
- non-empty string describing the appointment.
-
toString
String toString()Get the textual representation of AppointmentData. Contains description and duration.
-