public enum UpdateOperation extends Enum<UpdateOperation>
| Enum Constant and Description |
|---|
$addToSet |
$pullAll |
$pushAll |
$set |
$unset |
| Modifier and Type | Method and Description |
|---|---|
static UpdateOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateOperation $set
public static final UpdateOperation $unset
public static final UpdateOperation $pushAll
public static final UpdateOperation $pullAll
public static final UpdateOperation $addToSet
public static UpdateOperation[] values()
for (UpdateOperation c : UpdateOperation.values()) System.out.println(c);
public static UpdateOperation 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 nullCopyright © 2014. All Rights Reserved.