Enum AccountNotificationCategory
- java.lang.Object
-
- java.lang.Enum<AccountNotificationCategory>
-
- org.cyclos.model.messaging.notifications.AccountNotificationCategory
-
- All Implemented Interfaces:
Serializable,Comparable<AccountNotificationCategory>
public enum AccountNotificationCategory extends Enum<AccountNotificationCategory>
Possible categories for account notifications
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTOPERATOR_AUTHORIZED_PAYMENTPERFORMED_TRANSACTIONRECEIVED_TRANSACTIONTICKETVOUCHER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccountNotificationCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static AccountNotificationCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNT
public static final AccountNotificationCategory ACCOUNT
-
VOUCHER
public static final AccountNotificationCategory VOUCHER
-
TICKET
public static final AccountNotificationCategory TICKET
-
OPERATOR_AUTHORIZED_PAYMENT
public static final AccountNotificationCategory OPERATOR_AUTHORIZED_PAYMENT
-
PERFORMED_TRANSACTION
public static final AccountNotificationCategory PERFORMED_TRANSACTION
-
RECEIVED_TRANSACTION
public static final AccountNotificationCategory RECEIVED_TRANSACTION
-
-
Method Detail
-
values
public static AccountNotificationCategory[] 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 (AccountNotificationCategory c : AccountNotificationCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountNotificationCategory 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
-
-