public enum TransactionFlag extends Enum<TransactionFlag> implements INumberEnum<Integer>
Enum Constant and Description |
---|
BEGIN_LOCK_DB |
BEGIN_SUB_COMMIT |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static TransactionFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionFlag BEGIN_SUB_COMMIT
public static final TransactionFlag BEGIN_LOCK_DB
public static TransactionFlag[] values()
for (TransactionFlag c : TransactionFlag.values()) System.out.println(c);
public static TransactionFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2014–2018. All rights reserved.