|
||||||||||
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 BaseConfiguration
init
in class BaseConfigurationImpl
Exception
- if the initialization failspublic void setupInheritanceChain() throws Exception
BaseConfigurationImpl
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
Exception
- if the operation does not succeedpublic void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom
in interface BaseConfiguration
setInheritsFrom
in class BaseConfigurationImpl
inheritFrom
- The new inheritsFrom valuepublic void configurationChanged(MetamergeConfigChange mcc)
configurationChanged
in interface MetamergeConfigChangeListener
configurationChanged
in class BaseConfigurationImpl
public AttributeMapItem newAttributeMapItem(Object name) throws Exception
AttributeMapConfig
newAttributeMapItem
in interface AttributeMapConfig
name
- The attribute name
Exception
- Any errors encountered by the underlying driverpublic void setAttributeMapItem(AttributeMapItem map)
AttributeMapConfig
setAttributeMapItem
in interface AttributeMapConfig
map
- The new AttributeMapItempublic void removeAttributeMapItem(Object attribute)
AttributeMapConfig
removeAttributeMapItem
in interface AttributeMapConfig
attribute
- The attribute namepublic void renameAttributeMapItem(Object newName, AttributeMapItem map) throws Exception
AttributeMapConfig
renameAttributeMapItem
in interface AttributeMapConfig
newName
- The new namemap
- The existing AttributeMapItem
Exception
- Any errors encountered by the underlying driverpublic AttributeMapItem getAttributeMapItem(Object attrName)
AttributeMapConfig
getAttributeMapItem
in interface AttributeMapConfig
attrName
- The attribute name
public boolean hasAttributeMapItem(Object attribute)
AttributeMapConfig
hasAttributeMapItem
in interface AttributeMapConfig
attribute
- The attribute name
public List getAttributeNames()
AttributeMapConfig
getAttributeNames
in interface AttributeMapConfig
public boolean flatten(List excludedNS) throws Exception
flatten
in interface BaseConfiguration
flatten
in class BaseConfigurationImpl
excludedNS
- List of namespaces to exclude from flattening
Exception
public Object getClone() throws Exception
BaseConfiguration
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |