Package de.xima.fc.entities
Interface IEffectiveAppointmentStatusProviding
-
- All Known Implementing Classes:
Appointment
public interface IEffectiveAppointmentStatusProviding
Interface for theAppointment
that can provide its effectiveEAppointmentStatus
. Used by the DAO to restrict the allowable view classes.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EAppointmentStatus
getEffectiveStatus()
EAppointmentStatus
getStatus()
boolean
hasFormRecord()
-
-
-
Method Detail
-
getEffectiveStatus
default EAppointmentStatus getEffectiveStatus()
- Returns:
- The effective status of this appointment. This is usually the same as
getStatus()
. IfhasFormRecord()
returnnull
, this will returnEAppointmentStatus.CANCELED
.
-
getStatus
EAppointmentStatus getStatus()
- Returns:
- The current status of this appointment, e.g. whether it is booked, canceled etc.
-
hasFormRecord
boolean hasFormRecord()
- Returns:
- Whether this appointment is associated with an existing form record.
-
-