public enum StoringPolicy extends Enum<StoringPolicy>
Enum Constant and Description |
---|
DELETE
Ignore new items and delete existing
|
MERGE
Merge existing with new items
|
PRESERVE_EXISTING
Ignore any new items and keep existing
|
SET_NEW
Replace existing with new items
|
Modifier and Type | Method and Description |
---|---|
static StoringPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoringPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoringPolicy SET_NEW
public static final StoringPolicy PRESERVE_EXISTING
public static final StoringPolicy MERGE
public static final StoringPolicy DELETE
public static StoringPolicy[] values()
for (StoringPolicy c : StoringPolicy.values()) System.out.println(c);
public static StoringPolicy 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 © 2019 Communote team. All rights reserved.