I need to put this Schedule class on UML into code, I have already put some of it but I am a bit confused. I shared my code below, it is incomplete can anyone help me to put Schedule class into code please?
*Appointment.java *Activity.java *TelephoneNumber.java *Schedule.java & / *ScheduleLauncher.java 6 package cst8284. asgt1. scheduler; 7 import java.util.*; 8 public class Schedule { 9 10 private Scanner s = new Scanner (System. in); 11 private Appointment appointments; 12 private int aptIndex; 14 15 private static int SAVE_APPOINTMENT; 16 private static int DISPLAY_APPOINTMENT; 17 private static int DISPLAY_SCHEDULE; 18 private static int EXIT; 19 20 public Schedule () { 21 22 } 23 240 public void launch () { 25 26 } 27 280 private int displayMenu() { 29 return 30 } 31 320 private void executeMenuItem(int choice) { 33 34 35\f\fScheduler +Appointment (cal : Calendar, fullName : String, -scan: Scanner phone : TelephoneNumber, - appointments: Appointment [ ] activity: Activity) -aptIndex: int +Appointment (cal : Calendar, -SAVE APPOINTMENT: int firstName: String, last Name : String -DISPLAY APPOINTMENT: int phone : TelephoneNumber, -DISPLAY SCHEDULE: int activity: Activity) -EXIT: int ...plus getters and setters for all private fields +Scheduler () +toString () : String +launch () : void -displayMenu () : int -executeMenuItem (choice : int) : void TelephoneNumber - saveAppointment ToArray (apt : Appointment) : boolean -areaCode: int -displayAppointment (cal : Calendar) : void -prefix: int -lineNumber: int -displayDaySchedule (cal : Calendar) : void +TelephoneNumber (phoneNumber : String) -getResponseTo (s: String) : String -makeAppointment FromUser Input ( ) : +getAreaCode () : int Appointment +setAreaCode (areaCode : int) : void -makeCalendarFromUserInput ( ...etc. for all remaining getters and setters-getResponseTo (s: String) : String -makeAppointment FromUser Input ( ) : +getAreaCode () : int Appointment +setAreaCode (areaCode : int) : void -makeCalendarFromUserInput ( ...etc. for all remaining getters and setters suppressHour: boolean) : Calendar -processTimeString (t: String) :int +toString () : String -findAppointment (cal: Calendar) : Appointment Activity -getAppointments () : Appointment -getApt Index () : int -descriptionOfWork : String -getNextApt Index () : int -category: String +Activity (String: description, String: category) +getDescription () : String +setDescription (s: String) :void +getCategory () : String +setCategory (s: String) : void +toString () : String