public enum DocumentOperationType extends Enum<DocumentOperationType>
| Enum Constant and Description |
|---|
delete
Delete a document
|
insert
Insert a document
|
update
Update a document
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentOperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentOperationType insert
public static final DocumentOperationType update
public static final DocumentOperationType delete
public static DocumentOperationType[] values()
for (DocumentOperationType c : DocumentOperationType.values()) System.out.println(c);
public static DocumentOperationType 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 © 2020. All rights reserved.