public final class ImportContext extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INSERT |
static int |
PARSE |
static int |
PARSE_AND_LOAD |
Modifier | Constructor and Description |
---|---|
protected |
ImportContext(int mode,
StructuredFileSettings settings,
Class<? extends Persistent> targetClass,
String keyField) |
Modifier and Type | Method and Description |
---|---|
File |
getFile()
returns the file to be loaded
|
int |
getImportMode()
returns the import-mode
|
String |
getKeyField()
returns the keyfield used to check for duplicates
|
Class<? extends Persistent> |
getTargetClass()
returns the
Class to be instantiated |
public static final int INSERT
public static final int PARSE
public static final int PARSE_AND_LOAD
protected ImportContext(int mode, StructuredFileSettings settings, Class<? extends Persistent> targetClass, String keyField)
public int getImportMode()
INSERT
, PARSE
, PARSE_AND_LOAD
public File getFile()
public Class<? extends Persistent> getTargetClass()
Class
to be instantiatedpublic String getKeyField()
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.