public enum UpdateFlag extends Enum<UpdateFlag> implements Flag
| Enum Constant and Description |
|---|
MULTI_UPDATE |
UPSERT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet(int flags) |
int |
removeFrom(int flags) |
static UpdateFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateFlag UPSERT
public static final UpdateFlag MULTI_UPDATE
public static UpdateFlag[] values()
for (UpdateFlag c : UpdateFlag.values()) System.out.println(c);
public static UpdateFlag 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 int removeFrom(int flags)
removeFrom in interface FlagCopyright © 2013. All Rights Reserved.