public enum FieldImportStrategy extends java.lang.Enum<FieldImportStrategy> implements ValueEnum
foreignKey
mapped to a displayField
Enum Constant and Description |
---|
AUTO
The import process will attempt to discover the best setting to use, based on the values in the first record, and use
that setting for every remaining record in the import dataset
|
DISPLAY
The import process expects values in the import dataset to be display values, and it will transform them to the
corresponding underlying keys
|
KEY
The import process expects values in the import dataset to be the real underlying key values, and performs no
transformation
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static FieldImportStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldImportStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldImportStrategy KEY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "key".
public static final FieldImportStrategy DISPLAY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "display".
public static final FieldImportStrategy AUTO
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
public static FieldImportStrategy[] values()
for (FieldImportStrategy c : FieldImportStrategy.values()) System.out.println(c);
public static FieldImportStrategy 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