Package org.exoplatform.wallet.model
Enum WalletState
- java.lang.Object
-
- java.lang.Enum<WalletState>
-
- org.exoplatform.wallet.model.WalletState
-
- All Implemented Interfaces:
Serializable,Comparable<WalletState>
public enum WalletState extends Enum<WalletState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WalletStatevalueOf(String name)Returns the enum constant of this type with the specified name.static WalletState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final WalletState NEW
-
MODIFIED
public static final WalletState MODIFIED
-
PENDING
public static final WalletState PENDING
-
INITIALIZED
public static final WalletState INITIALIZED
-
DENIED
public static final WalletState DENIED
-
DELETED
public static final WalletState DELETED
-
-
Method Detail
-
values
public static WalletState[] 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 (WalletState c : WalletState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WalletState 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
-
-