Package de.xima.fc.mdl.enums
Enum ETransactionIntent
- java.lang.Object
-
- java.lang.Enum<ETransactionIntent>
-
- de.xima.fc.mdl.enums.ETransactionIntent
-
- All Implemented Interfaces:
Serializable
,Comparable<ETransactionIntent>
public enum ETransactionIntent extends Enum<ETransactionIntent>
Enum for possible intents of an database transaction.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_ALL_PROJECT_RECORDS
DELETE_CLIENT
DELETE_PROJECT
UPDATE_PROJECT_WORKFLOW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ETransactionIntent
valueOf(String name)
Returns the enum constant of this type with the specified name.static ETransactionIntent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE_PROJECT
public static final ETransactionIntent DELETE_PROJECT
-
DELETE_CLIENT
public static final ETransactionIntent DELETE_CLIENT
-
DELETE_ALL_PROJECT_RECORDS
public static final ETransactionIntent DELETE_ALL_PROJECT_RECORDS
-
UPDATE_PROJECT_WORKFLOW
public static final ETransactionIntent UPDATE_PROJECT_WORKFLOW
-
-
Method Detail
-
values
public static ETransactionIntent[] 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 (ETransactionIntent c : ETransactionIntent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ETransactionIntent 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
-
-