public static enum DocumentsChanges.ChangeType extends Enum<DocumentsChanges.ChangeType>
Enum Constant and Description |
---|
ARRAY_VALUE_ADDED |
ARRAY_VALUE_REMOVED |
DOCUMENT_ADDED |
DOCUMENT_DELETED |
FIELD_CHANGED |
NEW_FIELD |
REMOVED_FIELD |
Modifier and Type | Method and Description |
---|---|
static DocumentsChanges.ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentsChanges.ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentsChanges.ChangeType DOCUMENT_DELETED
public static final DocumentsChanges.ChangeType DOCUMENT_ADDED
public static final DocumentsChanges.ChangeType FIELD_CHANGED
public static final DocumentsChanges.ChangeType NEW_FIELD
public static final DocumentsChanges.ChangeType REMOVED_FIELD
public static final DocumentsChanges.ChangeType ARRAY_VALUE_ADDED
public static final DocumentsChanges.ChangeType ARRAY_VALUE_REMOVED
public static DocumentsChanges.ChangeType[] values()
for (DocumentsChanges.ChangeType c : DocumentsChanges.ChangeType.values()) System.out.println(c);
public static DocumentsChanges.ChangeType 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 © 2016. All Rights Reserved.