public abstract class AbstractLookupImport extends AbstractImportProvider implements LookupTableImport
PARAM_DESCRIPTION, PARAM_NAME
PARAM_RESOURCE_ID, PARAM_SOURCE
PARAM_CHARSET, PARAM_CONTENT_TYPE
Constructor and Description |
---|
AbstractLookupImport() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDescription()
Get the configured lookup table description.
|
protected String |
getName()
Get the configured lookup table name.
|
void |
setDescription(String description)
Set the lookup table description.
|
void |
setName(String name)
Set the human readable name for the lookup table to import.
|
void |
setParameter(String name,
Value value)
Set a parameter
|
void |
storeConfiguration(Map<String,Value> configuration)
Stores all parameters that were set using
AbstractIOProvider.setParameter(String, Value) in the configuration. |
createReporter, execute, generateResourceId, getResourceIdentifier, getSource, setSource, validate
addSupportedParameter, execute, fail, getCharset, getContentType, getDefaultCharset, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setCharset, setContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLookupTable
getResourceIdentifier, getSource, setSource
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setCharset, setContentType, validate
public void setName(String name)
LookupTableImport
setName
in interface LookupTableImport
name
- the lookup table nameprotected String getName()
public void setDescription(String description)
LookupTableImport
setDescription
in interface LookupTableImport
description
- the lookup table description, may be null
protected String getDescription()
public void storeConfiguration(Map<String,Value> configuration)
AbstractIOProvider
AbstractIOProvider.setParameter(String, Value)
in the configuration. For changing
the behavior please override this method.storeConfiguration
in interface IOProvider
storeConfiguration
in class AbstractImportProvider
configuration
- the configuration to populate, values are either
strings, DOM elements or complex value types defined in the
ComplexValueExtension
AbstractIOProvider.storeConfiguration(Map)
public void setParameter(String name, Value value)
IOProvider
setParameter
in interface IOProvider
setParameter
in class AbstractImportProvider
name
- the parameter namevalue
- the parameter value, it is either a string, a DOM elements
or a complex value types defined in the
ComplexValueExtension
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a