public static enum DxlImporter.DXLImportOption extends Enum<DxlImporter.DXLImportOption> implements CNativeEnum
| Enum Constant and Description |
|---|
CREATE
create new data from imported data
|
CREATE_RESERVED2
do not used - reserved for future variation of create option
|
IGNORE
ignore imported data
|
IGNORE_ELSE_CREATE
if imported data matches existing data, ignore the imported data, otherwise create it
|
REPLACE_ELSE_CREATE
if imported data matches existing data, then replace existing data with imported data, else create
new data from imported data
|
REPLACE_ELSE_IGNORE
if imported data matches existing data, then replace existing data with imported data, else ignore imported data.
|
REPLACE_RESERVED1
do not used - reserved for future variation of replace option
|
REPLACE_RESERVED2
do not used - reserved for future variation of replace option
|
UPDATE_ELSE_CREATE
if imported data matches existing data, then update existing data with imported data, else create
new data from imported data
|
UPDATE_ELSE_IGNORE
if imported data matches existing data, then update existing data with imported data, else ignore imported data.
|
UPDATE_RESERVED1
do not used - reserved for future variation of update option
|
UPDATE_RESERVED2
do not used - reserved for future variation of update option
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLongValue() |
Integer |
getValue() |
static DxlImporter.DXLImportOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DxlImporter.DXLImportOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DxlImporter.DXLImportOption IGNORE
public static final DxlImporter.DXLImportOption CREATE
public static final DxlImporter.DXLImportOption IGNORE_ELSE_CREATE
public static final DxlImporter.DXLImportOption CREATE_RESERVED2
public static final DxlImporter.DXLImportOption REPLACE_ELSE_IGNORE
public static final DxlImporter.DXLImportOption REPLACE_ELSE_CREATE
public static final DxlImporter.DXLImportOption REPLACE_RESERVED1
public static final DxlImporter.DXLImportOption REPLACE_RESERVED2
public static final DxlImporter.DXLImportOption UPDATE_ELSE_IGNORE
public static final DxlImporter.DXLImportOption UPDATE_ELSE_CREATE
public static final DxlImporter.DXLImportOption UPDATE_RESERVED1
public static final DxlImporter.DXLImportOption UPDATE_RESERVED2
public static DxlImporter.DXLImportOption[] values()
for (DxlImporter.DXLImportOption c : DxlImporter.DXLImportOption.values()) System.out.println(c);
public static DxlImporter.DXLImportOption 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 Integer getValue()
getValue in interface INumberEnum<Integer>public long getLongValue()
getLongValue in interface INumberEnum<Integer>longCopyright © 2019–2021 HCL. All rights reserved.