Package de.xima.fc.appointment
Enum EAppointmentBookingFlag
- java.lang.Object
-
- java.lang.Enum<EAppointmentBookingFlag>
-
- de.xima.fc.appointment.EAppointmentBookingFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<EAppointmentBookingFlag>
public enum EAppointmentBookingFlag extends Enum<EAppointmentBookingFlag>
Enumeration with flags for changing the validation process of anAppointment
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
AppointmentValidateParams
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_AFTER_MAX_ADVANCE_BOOKING
Allow an appointment to be booked even after theAppointmentTemplate.getMaximumAdvanceBooking()
time.ALLOW_ALL_STATUS
Allow an appointment to be changed irrespective of its currentIEffectiveAppointmentStatusProviding.getEffectiveStatus()
.ALLOW_DISALLOWED_DURATION
Allows an appointment to have a duration different than defined by theAppointmentType.getDuration()
.ALLOW_FULL_SLOTS
Allow an appointment even if noAppointmentTemplate.getSlots()
are available anymoreALLOW_INVALID_DURATION
Allows an appointment to have an invalid duration, such as a negative, zero or infinite duration.ALLOW_OUTSIDE_GRID
Allow an appointment to lie outside the grid defined by theAppointmentTemplate
ALLOW_OUTSIDE_SLOTS
Allow an appointment to lie outside theAppointmentSlot
defined by theAppointmentTemplate
.ALLOW_WITHIN_CLOSING_TIME
Allow an appointment to lie within theclosing times
.ALLOW_WITHIN_MIN_BOOKING_NOTICE
Allow an appointment to be booked even within the time window normally excluded byAppointmentTemplate.getMinimumBookingNotice()
time.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EAppointmentBookingFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static EAppointmentBookingFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW_AFTER_MAX_ADVANCE_BOOKING
public static final EAppointmentBookingFlag ALLOW_AFTER_MAX_ADVANCE_BOOKING
Allow an appointment to be booked even after theAppointmentTemplate.getMaximumAdvanceBooking()
time.
-
ALLOW_ALL_STATUS
public static final EAppointmentBookingFlag ALLOW_ALL_STATUS
Allow an appointment to be changed irrespective of its currentIEffectiveAppointmentStatusProviding.getEffectiveStatus()
.
-
ALLOW_DISALLOWED_DURATION
public static final EAppointmentBookingFlag ALLOW_DISALLOWED_DURATION
Allows an appointment to have a duration different than defined by theAppointmentType.getDuration()
.
-
ALLOW_FULL_SLOTS
public static final EAppointmentBookingFlag ALLOW_FULL_SLOTS
Allow an appointment even if noAppointmentTemplate.getSlots()
are available anymore
-
ALLOW_INVALID_DURATION
public static final EAppointmentBookingFlag ALLOW_INVALID_DURATION
Allows an appointment to have an invalid duration, such as a negative, zero or infinite duration.
-
ALLOW_OUTSIDE_GRID
public static final EAppointmentBookingFlag ALLOW_OUTSIDE_GRID
Allow an appointment to lie outside the grid defined by theAppointmentTemplate
-
ALLOW_OUTSIDE_SLOTS
public static final EAppointmentBookingFlag ALLOW_OUTSIDE_SLOTS
Allow an appointment to lie outside theAppointmentSlot
defined by theAppointmentTemplate
.
-
ALLOW_WITHIN_CLOSING_TIME
public static final EAppointmentBookingFlag ALLOW_WITHIN_CLOSING_TIME
Allow an appointment to lie within theclosing times
.
-
ALLOW_WITHIN_MIN_BOOKING_NOTICE
public static final EAppointmentBookingFlag ALLOW_WITHIN_MIN_BOOKING_NOTICE
Allow an appointment to be booked even within the time window normally excluded byAppointmentTemplate.getMinimumBookingNotice()
time.
-
-
Method Detail
-
values
public static EAppointmentBookingFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EAppointmentBookingFlag c : EAppointmentBookingFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAppointmentBookingFlag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-