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 AttributeMapConfiggetAttributeMap()Override ConnectorConfig to ensure we always get the input map.AttributeMapConfiggetAttributeMap(boolean input)Override ConnectorConfig to ensure we always get the input map.AttributeMapConfiggetAttributeMap(java.lang.Object name)Override ConnectorConfig to ensure we always get the input mapjava.lang.ObjectgetClone()This method returns self clone.java.lang.StringgetMode()Returns the mode of this config.booleangetReplyRequired()booleanisEntryFeed()voidsetEnabled(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.ExceptionConstructor- Throws:
java.lang.Exception
-
ALMappingConfigImpl
public ALMappingConfigImpl(java.lang.Object data) throws java.lang.ExceptionConstructor 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:
getModein interfaceConnectorConfig- Overrides:
getModein classConnectorConfigImpl- Returns:
- String constant
-
setEnabled
public void setEnabled(boolean enabled)
Set the enabled state for a connector.- Specified by:
setEnabledin interfaceBaseConfiguration- Specified by:
setEnabledin interfaceConnectorConfig- Overrides:
setEnabledin classConnectorConfigImpl- Parameters:
enabled-trueif the connector is enabled;falseif the connector is disabled.
-
getAttributeMap
public AttributeMapConfig getAttributeMap()
Override ConnectorConfig to ensure we always get the input map.- Specified by:
getAttributeMapin interfaceConnectorConfig- Overrides:
getAttributeMapin classConnectorConfigImpl- Returns:
AttributeMapConfigobject
-
getAttributeMap
public AttributeMapConfig getAttributeMap(java.lang.Object name)
Override ConnectorConfig to ensure we always get the input map- Specified by:
getAttributeMapin interfaceConnectorConfig- Overrides:
getAttributeMapin classConnectorConfigImpl- Parameters:
name-- Returns:
- d
-
getAttributeMap
public AttributeMapConfig getAttributeMap(boolean input)
Override ConnectorConfig to ensure we always get the input map.- Specified by:
getAttributeMapin interfaceConnectorConfig- Overrides:
getAttributeMapin classConnectorConfigImpl- Parameters:
input-trueto get the input map;falseto get the output map.- Returns:
AttributeMapConfigobject
-
getReplyRequired
public boolean getReplyRequired()
Description copied from class:ConnectorConfigImpl- Specified by:
getReplyRequiredin interfaceConnectorConfig- Overrides:
getReplyRequiredin classConnectorConfigImpl- Returns:
trueif the connector requires a response in Server or Iterator mode.
-
isEntryFeed
public boolean isEntryFeed()
Description copied from class:ConnectorConfigImpl- Specified by:
isEntryFeedin interfaceConnectorConfig- Overrides:
isEntryFeedin classConnectorConfigImpl- Returns:
trueif the connector is an entry feed connector.
-
getClone
public java.lang.Object getClone() throws java.lang.ExceptionThis method returns self clone.- Specified by:
getClonein interfaceBaseConfiguration- Overrides:
getClonein classConnectorConfigImpl- Returns:
ALMappingConfigImplobject- Throws:
java.lang.Exception
-
-