|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.AttributeMapConfigImpl
public class AttributeMapConfigImpl
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| 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 |
| Constructor Summary | |
|---|---|
AttributeMapConfigImpl()
|
|
AttributeMapConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
void |
configurationChanged(MetamergeConfigChange mcc)
|
boolean |
flatten(List excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
AttributeMapItem |
getAttributeMapItem(Object attrName)
Returns the AttributeMapItem for attribute |
List |
getAttributeNames()
Returns a list of attribute names in this object. |
Object |
getClone()
Returns a cloned version of this object. |
boolean |
hasAttributeMapItem(Object attribute)
Checks if a named attribute is local (not inherited or null) to this object. |
void |
init()
init - method called after internal data structure is set |
AttributeMapItem |
newAttributeMapItem(Object name)
Creates and adds a new attribute map item to this object. |
void |
removeAttributeMapItem(Object attribute)
Removes a named attribute from this map. |
void |
renameAttributeMapItem(Object newName,
AttributeMapItem map)
Changes the name of an existing attributemapitem |
void |
setAttributeMapItem(AttributeMapItem map)
Sets a attributeMapItem attribute of the AttributeMapConfig object |
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector. |
void |
setupInheritanceChain()
Established the inheritance chain for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeMapConfigImpl()
public AttributeMapConfigImpl(Object config)
| Method Detail |
|---|
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails
public void setupInheritanceChain()
throws Exception
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation does not succeedpublic void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom in interface BaseConfigurationsetInheritsFrom in class BaseConfigurationImplinheritFrom - The new inheritsFrom valuepublic void configurationChanged(MetamergeConfigChange mcc)
configurationChanged in interface MetamergeConfigChangeListenerconfigurationChanged in class BaseConfigurationImpl
public AttributeMapItem newAttributeMapItem(Object name)
throws Exception
AttributeMapConfig
newAttributeMapItem in interface AttributeMapConfigname - The attribute name
Exception - Any errors encountered by the underlying driverpublic void setAttributeMapItem(AttributeMapItem map)
AttributeMapConfig
setAttributeMapItem in interface AttributeMapConfigmap - The new AttributeMapItempublic void removeAttributeMapItem(Object attribute)
AttributeMapConfig
removeAttributeMapItem in interface AttributeMapConfigattribute - The attribute name
public void renameAttributeMapItem(Object newName,
AttributeMapItem map)
throws Exception
AttributeMapConfig
renameAttributeMapItem in interface AttributeMapConfignewName - The new namemap - The existing AttributeMapItem
Exception - Any errors encountered by the underlying driverpublic AttributeMapItem getAttributeMapItem(Object attrName)
AttributeMapConfig
getAttributeMapItem in interface AttributeMapConfigattrName - The attribute name
public boolean hasAttributeMapItem(Object attribute)
AttributeMapConfig
hasAttributeMapItem in interface AttributeMapConfigattribute - The attribute name
public List getAttributeNames()
AttributeMapConfig
getAttributeNames in interface AttributeMapConfig
public boolean flatten(List excludedNS)
throws Exception
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - List of namespaces to exclude from flattening
Exception
public Object getClone()
throws Exception
BaseConfiguration
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||