public enum TransactionMethod extends java.lang.Enum<TransactionMethod>
Enum Constant and Description |
---|
COMPENSATETRANSACTION |
IMAGETRANSACTION |
STORETRANSACTION |
Modifier and Type | Field and Description |
---|---|
static int |
COMPENSATETRANSACTION_VALUE |
static int |
IMAGETRANSACTION_VALUE |
static int |
STORETRANSACTION_VALUE |
static java.util.List<TransactionMethod> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static TransactionMethod |
get(int value) |
static TransactionMethod |
get(java.lang.String literal) |
static TransactionMethod |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static TransactionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMethod COMPENSATETRANSACTION
public static final TransactionMethod STORETRANSACTION
public static final TransactionMethod IMAGETRANSACTION
public static final int COMPENSATETRANSACTION_VALUE
public static final int STORETRANSACTION_VALUE
public static final int IMAGETRANSACTION_VALUE
public static final java.util.List<TransactionMethod> VALUES
public static TransactionMethod[] values()
for (TransactionMethod c : TransactionMethod.values()) System.out.println(c);
public static TransactionMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TransactionMethod get(java.lang.String literal)
public static TransactionMethod getByName(java.lang.String name)
public static TransactionMethod get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<TransactionMethod>