Package org.cyclos.model.users.products
Enum ScheduledPaymentsOperation
- java.lang.Object
-
- java.lang.Enum<ScheduledPaymentsOperation>
-
- org.cyclos.model.users.products.ScheduledPaymentsOperation
-
- All Implemented Interfaces:
Serializable,Comparable<ScheduledPaymentsOperation>,PermissionOperation,HasMessageKey
public enum ScheduledPaymentsOperation extends Enum<ScheduledPaymentsOperation> implements PermissionOperation
Possible operations over scheduled payments
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKCANCELMODIFYPROCESS_INSTALLMENTSETTLE_INSTALLMENTUNBLOCKVIEW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static ScheduledPaymentsOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static ScheduledPaymentsOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW
public static final ScheduledPaymentsOperation VIEW
-
CANCEL
public static final ScheduledPaymentsOperation CANCEL
-
BLOCK
public static final ScheduledPaymentsOperation BLOCK
-
UNBLOCK
public static final ScheduledPaymentsOperation UNBLOCK
-
MODIFY
public static final ScheduledPaymentsOperation MODIFY
-
PROCESS_INSTALLMENT
public static final ScheduledPaymentsOperation PROCESS_INSTALLMENT
-
SETTLE_INSTALLMENT
public static final ScheduledPaymentsOperation SETTLE_INSTALLMENT
-
-
Method Detail
-
values
public static ScheduledPaymentsOperation[] 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 (ScheduledPaymentsOperation c : ScheduledPaymentsOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScheduledPaymentsOperation 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
-