The implementation consists of two interfaces IVaccinationData (observer interface) and IVaccinationBooking (observable interface) which are both implemented by the concrete classes VaccinationData (observer for the observable class) and VaccinationBooking (observable class) respectively. Here the observer class VaccinationData will be notified of the data by the observable class VaccinationBooking at the time of a successful vaccination booking for a user. Data provided by the observable to the observer can then be stored in a database for further analysis.
The implementation consists of two interfaces IVaccinationData (observer interface) and IVaccinationBooking (observable interface) which are both implemented by the concrete classes VaccinationData (observer for the observable class) and VaccinationBooking (observable class) respectively. Here the observer class VaccinationData will be notified of the data by the observable class VaccinationBooking at the time of a successful vaccination booking for a user. Data provided by the observable to the observer can then be stored in a database for further analysis.