Package com.ibm.di.config.base
Class ALMappingConfigImpl
- java.lang.Object
-
- com.ibm.di.config.base.BaseConfigurationImpl
-
- com.ibm.di.config.base.ConnectorConfigImpl
-
- com.ibm.di.config.base.ALMappingConfigImpl
-
- All Implemented Interfaces:
ALMappingConfig
,BaseConfiguration
,ConnectorConfig
,MetamergeConfigChangeListener
,OperationsConfig
,java.io.Serializable
public class ALMappingConfigImpl extends ConnectorConfigImpl implements ALMappingConfig
This is the implementation class for the configuration of an AssemblyLine Attribute Map Component.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.di.config.base.ConnectorConfigImpl
parserConfig
-
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
-
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE
-
Fields inherited from interface com.ibm.di.config.interfaces.ConnectorConfig
ADDONLY_MODE, BRANCH_MODE, CALL_REPLY_MODE, COMP_INIT_DEFAULT, COMP_INIT_EVERYTIME, COMP_INIT_MODIFIED, COMP_INIT_USE, DELETE_MODE, DELTA_MODE, DELTA_NO_DELETE, DELTA_NORMAL, DISABLED_STATE, ENABLED_STATE, FUNCTION_MODE, INPUT_MAP_NAME, ITERATOR_MODE, LOOKUP_MODE, MAPPING_MODE, OUTPUT_MAP_NAME, PASSIVE_STATE, REPLY_MODE, SCHEMA_INPUT, SCHEMA_OUTPUT, SCRIPT_MODE, SERVER_MODE, SERVER_OPTION_CONNECTOR, SERVER_OPTION_ENTRY, UPDATE_MODE
-
-
Constructor Summary
Constructors Constructor Description ALMappingConfigImpl()
ConstructorALMappingConfigImpl(java.lang.Object data)
Constructor providing a TreeMap of attribute/value pairs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMapConfig
getAttributeMap()
Override ConnectorConfig to ensure we always get the input map.AttributeMapConfig
getAttributeMap(boolean input)
Override ConnectorConfig to ensure we always get the input map.AttributeMapConfig
getAttributeMap(java.lang.Object name)
Override ConnectorConfig to ensure we always get the input mapjava.lang.Object
getClone()
This method returns self clone.java.lang.String
getMode()
Returns the mode of this config.boolean
getReplyRequired()
boolean
isEntryFeed()
void
setEnabled(boolean enabled)
Set the enabled state for a connector.-
Methods inherited from class com.ibm.di.config.base.ConnectorConfigImpl
createOperation, flatten, getCheckpointConfig, getComputeChanges, getConnectionConfig, getConnectorScript, getDeltaBehavior, getDeltaConfig, getDeltaStrict, getEnabled, getHooks, getInitializeOption, getLimitOption, getLinkCriteria, getOperation, getOperationCarrier, getOperationCarrierIsProperty, getOperations, getParserConfig, getPoolDefConfig, getPoolInstanceConfig, getPublishedInitParams, getReconnectConfig, getReferences, getSandboxConfig, getSchema, getSchema, getServerOption, getSkipLookup, getState, getSupportedModes, init, setAttributeMap, setAttributeMap, setComputeChanges, setConnectionConfig, setConnectorScript, setDeltaBehavior, setDeltaStrict, setInheritsFromRef, setInitializeOption, setLimitOption, setLinkCriteria, setMode, setOperationCarrier, setOperationCarrierIsProperty, setParserConfig, setPublishedInitParams, setSkipLookup, setState, setSupportedModes, setupInheritanceChain, supportsSkipLookup, updateInheritsFrom
-
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, detachFromParent, expandPropertyValue, expandPropertyValue, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getLongName, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseConfigListeners, getUseListeners, getUserComment, hasParameter, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, performNotifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setFlags, setInheritsFrom, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setUseConfigListeners, setUseListeners, setUserComment, size, toEntry, toString, willExpandProps, willFlatten, willUseInherited
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
Methods inherited from interface com.ibm.di.config.interfaces.ConnectorConfig
getCheckpointConfig, getComputeChanges, getConnectionConfig, getConnectorScript, getDeltaBehavior, getDeltaConfig, getDeltaStrict, getEnabled, getHooks, getInitializeOption, getLimitOption, getLinkCriteria, getOperationCarrier, getOperationCarrierIsProperty, getParserConfig, getPoolDefConfig, getPoolInstanceConfig, getReconnectConfig, getSandboxConfig, getSchema, getSchema, getServerOption, getSkipLookup, getState, getSupportedModes, setAttributeMap, setAttributeMap, setComputeChanges, setConnectorScript, setDeltaBehavior, setDeltaStrict, setInitializeOption, setLimitOption, setLinkCriteria, setMode, setOperationCarrier, setOperationCarrierIsProperty, setParserConfig, setSkipLookup, setState, setSupportedModes, supportsSkipLookup
-
Methods inherited from interface com.ibm.di.config.interfaces.OperationsConfig
createOperation, getOperation, getOperations, getPublishedInitParams, setPublishedInitParams
-
-
-
-
Constructor Detail
-
ALMappingConfigImpl
public ALMappingConfigImpl() throws java.lang.Exception
Constructor- Throws:
java.lang.Exception
-
ALMappingConfigImpl
public ALMappingConfigImpl(java.lang.Object data) throws java.lang.Exception
Constructor providing a TreeMap of attribute/value pairs.- Parameters:
data
- initial data for attributes- Throws:
java.lang.Exception
-
-
Method Detail
-
getMode
public java.lang.String getMode()
Returns the mode of this config.- Specified by:
getMode
in interfaceConnectorConfig
- Overrides:
getMode
in classConnectorConfigImpl
- Returns:
- String constant
-
setEnabled
public void setEnabled(boolean enabled)
Set the enabled state for a connector.- Specified by:
setEnabled
in interfaceBaseConfiguration
- Specified by:
setEnabled
in interfaceConnectorConfig
- Overrides:
setEnabled
in classConnectorConfigImpl
- Parameters:
enabled
-true
if the connector is enabled;false
if the connector is disabled.
-
getAttributeMap
public AttributeMapConfig getAttributeMap()
Override ConnectorConfig to ensure we always get the input map.- Specified by:
getAttributeMap
in interfaceConnectorConfig
- Overrides:
getAttributeMap
in classConnectorConfigImpl
- Returns:
AttributeMapConfig
object
-
getAttributeMap
public AttributeMapConfig getAttributeMap(java.lang.Object name)
Override ConnectorConfig to ensure we always get the input map- Specified by:
getAttributeMap
in interfaceConnectorConfig
- Overrides:
getAttributeMap
in classConnectorConfigImpl
- Parameters:
name
-- Returns:
- d
-
getAttributeMap
public AttributeMapConfig getAttributeMap(boolean input)
Override ConnectorConfig to ensure we always get the input map.- Specified by:
getAttributeMap
in interfaceConnectorConfig
- Overrides:
getAttributeMap
in classConnectorConfigImpl
- Parameters:
input
-true
to get the input map;false
to get the output map.- Returns:
AttributeMapConfig
object
-
getReplyRequired
public boolean getReplyRequired()
Description copied from class:ConnectorConfigImpl
- Specified by:
getReplyRequired
in interfaceConnectorConfig
- Overrides:
getReplyRequired
in classConnectorConfigImpl
- Returns:
true
if the connector requires a response in Server or Iterator mode.
-
isEntryFeed
public boolean isEntryFeed()
Description copied from class:ConnectorConfigImpl
- Specified by:
isEntryFeed
in interfaceConnectorConfig
- Overrides:
isEntryFeed
in classConnectorConfigImpl
- Returns:
true
if the connector is an entry feed connector.
-
getClone
public java.lang.Object getClone() throws java.lang.Exception
This method returns self clone.- Specified by:
getClone
in interfaceBaseConfiguration
- Overrides:
getClone
in classConnectorConfigImpl
- Returns:
ALMappingConfigImpl
object- Throws:
java.lang.Exception
-
-