public enum Flags extends Enum<Flags>
| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMIT |
static String |
COMMIT_STRING |
static byte |
NONE |
static String |
NONE_STRING |
static byte |
ROLLBACK |
static String |
ROLLBACK_STRING |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCommit(byte flags) |
static boolean |
isFinal(byte flags) |
static boolean |
isNonFinal(byte flags) |
static boolean |
isRollback(byte flags) |
static String |
toString(byte flags) |
static Flags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final byte NONE
public static final byte COMMIT
public static final byte ROLLBACK
public static final String NONE_STRING
public static final String COMMIT_STRING
public static final String ROLLBACK_STRING
public static Flags[] values()
for (Flags c : Flags.values()) System.out.println(c);
public static Flags 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 static boolean isCommit(byte flags)
public static boolean isRollback(byte flags)
public static boolean isFinal(byte flags)
public static boolean isNonFinal(byte flags)
public static String toString(byte flags)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.