com.ibm.di.config.base
Class LinkCriteriaConfigImpl
java.lang.Object
com.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.LinkCriteriaConfigImpl
- All Implemented Interfaces:
- BaseConfiguration, LinkCriteriaConfig, MetamergeConfigChangeListener, Serializable
public class LinkCriteriaConfigImpl
- extends BaseConfigurationImpl
- implements LinkCriteriaConfig, MetamergeConfigChangeListener
- See Also:
- Serialized Form
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
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, SUBTREE |
| Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
addListener, deepClone, expandPropertyValue, expandPropertyValue, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isParameterLocal, nameForChild, notifyChange, notifyChange, performNotifyChange, removeListener, removeParameter, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited |
| Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
addListener, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isParameterLocal, nameForChild, notifyChange, notifyChange, removeListener, removeParameter, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten |
LinkCriteriaConfigImpl
public LinkCriteriaConfigImpl()
LinkCriteriaConfigImpl
public LinkCriteriaConfigImpl(Object config)
setInheritsFrom
public void setInheritsFrom(BaseConfiguration inheritFrom)
- We override this method to change the inherited object if we inherit from a connector.
- Specified by:
setInheritsFrom in interface BaseConfiguration- Overrides:
setInheritsFrom in class BaseConfigurationImpl
- Parameters:
inheritFrom - The new inheritsFrom value
configurationChanged
public void configurationChanged(MetamergeConfigChange mcc)
- Specified by:
configurationChanged in interface MetamergeConfigChangeListener- Overrides:
configurationChanged in class BaseConfigurationImpl
getCriteria
public BaseConfiguration getCriteria()
- Specified by:
getCriteria in interface LinkCriteriaConfig
getCriteriaNames
public List getCriteriaNames()
- Specified by:
getCriteriaNames in interface LinkCriteriaConfig
getCriteria
public LinkCriteriaItem getCriteria(Object name)
- Specified by:
getCriteria in interface LinkCriteriaConfig
setCriteria
public void setCriteria(LinkCriteriaItem map)
- Specified by:
setCriteria in interface LinkCriteriaConfig
removeCriteria
public void removeCriteria(Object attribute)
- Specified by:
removeCriteria in interface LinkCriteriaConfig
newCriteria
public LinkCriteriaItem newCriteria(Object name)
throws Exception
- Specified by:
newCriteria in interface LinkCriteriaConfig
- Throws:
Exception
isCriteriaLocal
public boolean isCriteriaLocal(Object name)
- Specified by:
isCriteriaLocal in interface LinkCriteriaConfig
getAdvancedLinkCriteria
public String getAdvancedLinkCriteria()
- Specified by:
getAdvancedLinkCriteria in interface LinkCriteriaConfig
setAdvancedLinkCriteria
public void setAdvancedLinkCriteria(String script)
- Specified by:
setAdvancedLinkCriteria in interface LinkCriteriaConfig
getAdvancedLinkMode
public boolean getAdvancedLinkMode()
- Specified by:
getAdvancedLinkMode in interface LinkCriteriaConfig
setAdvancedLinkMode
public void setAdvancedLinkMode(boolean advanced)
- Specified by:
setAdvancedLinkMode in interface LinkCriteriaConfig
getMatchAny
public boolean getMatchAny()
- Specified by:
getMatchAny in interface LinkCriteriaConfig
setMatchAny
public void setMatchAny(boolean value)
- Specified by:
setMatchAny in interface LinkCriteriaConfig
flatten
public boolean flatten(List excludedNS)
throws Exception
- Description copied from class:
BaseConfigurationImpl
- flatten - combines all values from this object and its inherited objects into one single config object.
After flattening, the object is a complete object with no inherited values except those from the excludedNS list.
- Specified by:
flatten in interface BaseConfiguration- Overrides:
flatten in class BaseConfigurationImpl
- Parameters:
excludedNS - List of namespaces to exclude from flattening
- Returns:
- TRUE if object attempted flattening, FALSE is this object inherits from an excluded namespace or has no inheritance
- Throws:
Exception
search
public List search(String text,
int options,
int sizelimit,
List results)
- Description copied from interface:
BaseConfiguration
- Searches a configuration object and optionally its children for a specific key or value.
- Specified by:
search in interface BaseConfiguration- Overrides:
search in class BaseConfigurationImpl
- Parameters:
text - The search textoptions - Search options (oneLevel=1, exactCase=2, regExp=4, paramName=8)sizelimit - Max number of hits returnedresults - A list of results.
toString
public String toString()
- Overrides:
toString in class BaseConfigurationImpl