|
||||||||||
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 AttributeMapItem
getEnabled
in interface BaseConfiguration
getEnabled
in class BaseConfigurationImpl
public void setEnabled(boolean enabled)
BaseConfiguration
setEnabled
in interface AttributeMapItem
setEnabled
in interface BaseConfiguration
setEnabled
in class BaseConfigurationImpl
enabled
- The new enabled valuepublic String getScript()
BaseConfiguration
getScript
in interface AttributeMapItem
getScript
in interface BaseConfiguration
getScript
in class BaseConfigurationImpl
public void setScript(String script)
BaseConfiguration
setScript
in interface AttributeMapItem
setScript
in interface BaseConfiguration
setScript
in class BaseConfigurationImpl
script
- The new script valuepublic boolean getModify()
AttributeMapItem
getModify
in interface AttributeMapItem
public void setModify(boolean modify)
AttributeMapItem
setModify
in interface AttributeMapItem
modify
- The new modify valuepublic boolean getAdd()
AttributeMapItem
getAdd
in interface AttributeMapItem
public void setAdd(boolean add)
AttributeMapItem
setAdd
in interface AttributeMapItem
add
- The new add valuepublic String getSimple()
AttributeMapItem
getSimple
in interface AttributeMapItem
public void setSimple(String attribute)
AttributeMapItem
setSimple
in interface AttributeMapItem
attribute
- The new simple valuepublic void setType(String type)
AttributeMapItem
setType
in interface AttributeMapItem
type
- The new type valuepublic String getType()
AttributeMapItem
getType
in interface AttributeMapItem
public boolean isSimple()
AttributeMapItem
isSimple
in interface AttributeMapItem
public boolean isAdvanced()
AttributeMapItem
isAdvanced
in interface AttributeMapItem
public boolean isSubstitution()
AttributeMapItem
isSubstitution
in interface AttributeMapItem
public void setSubstitution(String str)
AttributeMapItem
setSubstitution
in interface AttributeMapItem
str
- The substitution templatepublic String getSubstitution()
AttributeMapItem
getSubstitution
in interface AttributeMapItem
public boolean flatten(List excludedNS) throws Exception
BaseConfigurationImpl
flatten
in interface BaseConfiguration
flatten
in class BaseConfigurationImpl
excludedNS
- List of namespaces to exclude from flattening
Exception
public void notifyChange(Object source, Object key, int operation, Object userObject)
BaseConfiguration
notifyChange
in interface BaseConfiguration
notifyChange
in class BaseConfigurationImpl
source
- 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 |