|
||||||||||
| 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.AttributeMapItemImpl
public class AttributeMapItemImpl
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.AttributeMapItem |
|---|
ADVANCED_MAPPING, SIMPLE_MAPPING, SUBSTITUTION_MAPPING |
| 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 | |
|---|---|
AttributeMapItemImpl()
|
|
AttributeMapItemImpl(Object config)
|
|
| Method Summary | |
|---|---|
static AttributeMapItem |
clone(AttributeMapItem ami)
|
boolean |
flatten(List excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
boolean |
getAdd()
Gets the add attribute of the AttributeMapItem object |
boolean |
getEnabled()
Gets the enabled attribute of the BaseConfiguration object |
boolean |
getModify()
Gets the modify attribute of the AttributeMapItem object |
String |
getScript()
Gets the script attribute of the BaseConfiguration object |
String |
getSimple()
Gets the simple attribute of the AttributeMapItem object |
String |
getSubstitution()
Gets the substitution template attribute of the AttributeMapItem object |
String |
getType()
Gets the type attribute of the AttributeMapItem object |
boolean |
isAdvanced()
Returns true if this AttributeMapItem is an advanced attribute map (mapped by a script) |
boolean |
isSimple()
Returns true if this AttributeMapItem is a simple attribute map |
boolean |
isSubstitution()
Returns true if this attribute map item is subject to property expansion |
void |
notifyChange(Object source,
Object key,
int operation,
Object userObject)
Signal a change event to listeners. |
void |
setAdd(boolean add)
Sets the add attribute of the AttributeMapItem object |
void |
setEnabled(boolean enabled)
Gets the enabled attribute of the BaseConfiguration object |
void |
setModify(boolean modify)
Sets the modify attribute of the AttributeMapItem object |
void |
setScript(String script)
Sets the script attribute of the BaseConfiguration object |
void |
setSimple(String attribute)
Sets the simple attribute of the AttributeMapItem object |
void |
setSubstitution(String str)
Sets the substitution template attribute of the AttributeMapItem object |
void |
setType(String type)
Sets the type attribute of the AttributeMapItem object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeMapItemImpl()
public AttributeMapItemImpl(Object config)
| Method Detail |
|---|
public static AttributeMapItem clone(AttributeMapItem ami)
public boolean getEnabled()
BaseConfiguration
getEnabled in interface AttributeMapItemgetEnabled in interface BaseConfigurationgetEnabled in class BaseConfigurationImplpublic void setEnabled(boolean enabled)
BaseConfiguration
setEnabled in interface AttributeMapItemsetEnabled in interface BaseConfigurationsetEnabled in class BaseConfigurationImplenabled - The new enabled valuepublic String getScript()
BaseConfiguration
getScript in interface AttributeMapItemgetScript in interface BaseConfigurationgetScript in class BaseConfigurationImplpublic void setScript(String script)
BaseConfiguration
setScript in interface AttributeMapItemsetScript in interface BaseConfigurationsetScript in class BaseConfigurationImplscript - The new script valuepublic boolean getModify()
AttributeMapItem
getModify in interface AttributeMapItempublic void setModify(boolean modify)
AttributeMapItem
setModify in interface AttributeMapItemmodify - The new modify valuepublic boolean getAdd()
AttributeMapItem
getAdd in interface AttributeMapItempublic void setAdd(boolean add)
AttributeMapItem
setAdd in interface AttributeMapItemadd - The new add valuepublic String getSimple()
AttributeMapItem
getSimple in interface AttributeMapItempublic void setSimple(String attribute)
AttributeMapItem
setSimple in interface AttributeMapItemattribute - The new simple valuepublic void setType(String type)
AttributeMapItem
setType in interface AttributeMapItemtype - The new type valuepublic String getType()
AttributeMapItem
getType in interface AttributeMapItempublic boolean isSimple()
AttributeMapItem
isSimple in interface AttributeMapItempublic boolean isAdvanced()
AttributeMapItem
isAdvanced in interface AttributeMapItempublic boolean isSubstitution()
AttributeMapItem
isSubstitution in interface AttributeMapItempublic void setSubstitution(String str)
AttributeMapItem
setSubstitution in interface AttributeMapItemstr - The substitution templatepublic String getSubstitution()
AttributeMapItem
getSubstitution in interface AttributeMapItem
public boolean flatten(List excludedNS)
throws Exception
BaseConfigurationImpl
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - List of namespaces to exclude from flattening
Exception
public void notifyChange(Object source,
Object key,
int operation,
Object userObject)
BaseConfiguration
notifyChange in interface BaseConfigurationnotifyChange in class BaseConfigurationImplsource - The caller initiating the change eventkey - The key that changedoperation - The operation performed on keyuserObject - Arbitrary object provided by caller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||