Package de.xima.fc.appointment
Enum EAppointmentActionType
- java.lang.Object
-
- java.lang.Enum<EAppointmentActionType>
-
- de.xima.fc.appointment.EAppointmentActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<EAppointmentActionType>
public enum EAppointmentActionType extends Enum<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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EAppointmentActionType
valueOf(String name)
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 Detail
-
BOOK
public static final EAppointmentActionType BOOK
Create (book) a new appointment
-
CANCEL
public static final EAppointmentActionType CANCEL
Cancels an existing appointment.
-
MOVE
public static final EAppointmentActionType MOVE
Update (move) an existing appointment.
-
NONE
public static final EAppointmentActionType NONE
Do no take any action, e.g. a no-op.
-
VALIDATE
public static final EAppointmentActionType VALIDATE
Appointment is unchanged and persisted. Validate that the appointment is valid among all other existing appointments.
-
-
Method Detail
-
values
public static EAppointmentActionType[] 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 (EAppointmentActionType c : EAppointmentActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAppointmentActionType 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
-
-