public enum ImportMode extends Enum<ImportMode>
Enum Constant and Description |
---|
INSERT_ONLY
Specifies that only modifications of existing records are allowed.
|
REPLACE_ALL_CONTENT
Specifies that all records will be replaced during the import process.
|
UNKNOWN
Specifies an undefined mode.
|
UPDATE_AND_INSERT
Specifies that all records will be updated or inserted during import process.
|
UPDATE_ONLY
Specifies that only record creations are allowed.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns this string
value . |
static ImportMode |
parse(String value)
Returns the
ImportMode instance corresponding to the value specified. |
static ImportMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportMode UPDATE_AND_INSERT
public static final ImportMode INSERT_ONLY
public static final ImportMode UPDATE_ONLY
public static final ImportMode REPLACE_ALL_CONTENT
public static final ImportMode UNKNOWN
public static ImportMode[] values()
for (ImportMode c : ImportMode.values()) System.out.println(c);
public static ImportMode 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 nullpublic static ImportMode parse(String value)
ImportMode
instance corresponding to the value specified.public String getValue()
value
.