impl: ap factory
This commit is contained in:
@@ -34,13 +34,12 @@ public class APFactory implements AbstractAPFactory {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AppointmentData createAppointmentData(String description, Duration duration) {
|
public AppointmentData createAppointmentData(String description, Duration duration) {
|
||||||
//TODO Return an instance of your class that implements AppointmentData
|
return new AppointmentDataImpl(duration, description);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AppointmentRequest createAppointmentRequest(AppointmentData appData, LocalTime prefStart, TimePreference fallBack) {
|
public AppointmentRequest createAppointmentRequest(AppointmentData appData, LocalTime prefStart,
|
||||||
//TODO Return an instance of your class that implements AppointmentRequest
|
TimePreference fallBack) {
|
||||||
return null;
|
return new AppointmentRequestImpl(appData, prefStart, fallBack);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user