public enum ChangeType extends java.lang.Enum<ChangeType>
Represents different types of collection modification actions.
Enum Constant and Description |
---|
CLOSE
Collection Close action.
|
DROP
Collection Drop action.
|
INSERT
Insert action.
|
REMOVE
Remove action.
|
UPDATE
Update action.
|
Modifier and Type | Method and Description |
---|---|
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType INSERT
Insert action.
public static final ChangeType UPDATE
Update action.
NitriteCollection.update(Filter, Document)
,
NitriteCollection.update(Filter, Document, UpdateOptions)
,
ObjectRepository.update(ObjectFilter, Object)
,
org.dizitart.no2.objects.ObjectRepository#update(ObjectFilter, Object, UpdateOptions)
public static final ChangeType REMOVE
Remove action.
public static final ChangeType DROP
Collection Drop action.
public static final ChangeType CLOSE
Collection Close action.
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null