Package de.xima.fc.appointment
Enum EAppointmentActionType
- All Implemented Interfaces:
Serializable
,Comparable<EAppointmentActionType>
An enumeration of the actions that can be applied to a submitted appointment. Used mainly for persisting the
submitted appointment in the database.
- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EAppointmentActionType
Returns the enum constant of this type with the specified name.static EAppointmentActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOK
Create (book) a new appointment -
CANCEL
Cancels an existing appointment. -
MOVE
Update (move) an existing appointment. -
NONE
Do no take any action, e.g. a no-op. -
VALIDATE
Appointment is unchanged and persisted. Validate that the appointment is valid among all other existing appointments.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-