Package com.ibm.di.config.interfaces
Interface AttributeMapItem
-
- All Superinterfaces:
BaseConfiguration,java.io.Serializable
- All Known Implementing Classes:
AttributeMapItemImpl
public interface AttributeMapItem extends BaseConfiguration
The configuration for a single item in an AttributeMap.- See Also:
AttributeMapConfig
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringADVANCED_MAPPINGAdvanced mapping keywordstatic java.lang.StringSIMPLE_MAPPINGSimple mapping keywordstatic java.lang.StringSUBSTITUTION_MAPPINGSubstitution mapping keyword-
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, 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, SEARCH_SUBSTRING, SUBTREE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAdd()Gets the add attribute of the AttributeMapItem objectjava.util.ListgetChildAttributeMaps()Returns a list of child attribute map items.booleangetEnabled()Returns true if this attribute map item is enabledbooleangetModify()Gets the modify attribute of the AttributeMapItem objectjava.lang.StringgetScript()Gets the script attribute of the AttributeMapItem objectjava.lang.StringgetSimple()Gets the simple attribute of the AttributeMapItem objectjava.lang.StringgetSubstitution()Gets the substitution template attribute of the AttributeMapItem objectjava.lang.StringgetType()Gets the type attribute of the AttributeMapItem objectbooleanisAdvanced()Returns true if this AttributeMapItem is an advanced attribute map (mapped by a script)booleanisSimple()Returns true if this AttributeMapItem is a simple attribute mapbooleanisSubstitution()Returns true if this attribute map item is subject to property expansionvoidsetAdd(boolean add)Sets the add attribute of the AttributeMapItem objectvoidsetEnabled(boolean enabled)Sets the enabled attribute of the AttributeMapItem objectvoidsetModify(boolean modify)Sets the modify attribute of the AttributeMapItem objectvoidsetScript(java.lang.String script)Sets the script attribute of the AttributeMapItem objectvoidsetSimple(java.lang.String attribute)Sets the simple attribute of the AttributeMapItem objectvoidsetSubstitution(java.lang.String template)Sets the substitution template attribute of the AttributeMapItem objectvoidsetType(java.lang.String type)Sets the type attribute of the AttributeMapItem object-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
-
-
-
Field Detail
-
SIMPLE_MAPPING
static final java.lang.String SIMPLE_MAPPING
Simple mapping keyword- See Also:
- Constant Field Values
-
ADVANCED_MAPPING
static final java.lang.String ADVANCED_MAPPING
Advanced mapping keyword- See Also:
- Constant Field Values
-
SUBSTITUTION_MAPPING
static final java.lang.String SUBSTITUTION_MAPPING
Substitution mapping keyword- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnabled
boolean getEnabled()
Returns true if this attribute map item is enabled- Specified by:
getEnabledin interfaceBaseConfiguration- Returns:
- The if enabled, false if disabled
-
setEnabled
void setEnabled(boolean enabled)
Sets the enabled attribute of the AttributeMapItem object- Specified by:
setEnabledin interfaceBaseConfiguration- Parameters:
enabled- The new enabled value
-
getScript
java.lang.String getScript()
Gets the script attribute of the AttributeMapItem object- Specified by:
getScriptin interfaceBaseConfiguration- Returns:
- The script value
-
setScript
void setScript(java.lang.String script)
Sets the script attribute of the AttributeMapItem object- Specified by:
setScriptin interfaceBaseConfiguration- Parameters:
script- The new script value
-
getModify
boolean getModify()
Gets the modify attribute of the AttributeMapItem object- Returns:
- The modify value
-
setModify
void setModify(boolean modify)
Sets the modify attribute of the AttributeMapItem object- Parameters:
modify- The new modify value
-
getAdd
boolean getAdd()
Gets the add attribute of the AttributeMapItem object- Returns:
- The add value
-
setAdd
void setAdd(boolean add)
Sets the add attribute of the AttributeMapItem object- Parameters:
add- The new add value
-
getSimple
java.lang.String getSimple()
Gets the simple attribute of the AttributeMapItem object- Returns:
- The simple value
-
setSimple
void setSimple(java.lang.String attribute)
Sets the simple attribute of the AttributeMapItem object- Parameters:
attribute- The new simple value
-
setType
void setType(java.lang.String type)
Sets the type attribute of the AttributeMapItem object- Parameters:
type- The new type value
-
getType
java.lang.String getType()
Gets the type attribute of the AttributeMapItem object- Returns:
- The type value
-
isSimple
boolean isSimple()
Returns true if this AttributeMapItem is a simple attribute map- Returns:
- The simple value
-
isAdvanced
boolean isAdvanced()
Returns true if this AttributeMapItem is an advanced attribute map (mapped by a script)- Returns:
- The advanced value
-
isSubstitution
boolean isSubstitution()
Returns true if this attribute map item is subject to property expansion- Returns:
- The if enabled, false if disabled
-
setSubstitution
void setSubstitution(java.lang.String template)
Sets the substitution template attribute of the AttributeMapItem object- Parameters:
template- The substitution template
-
getSubstitution
java.lang.String getSubstitution()
Gets the substitution template attribute of the AttributeMapItem object- Returns:
- The substitution template
-
getChildAttributeMaps
java.util.List getChildAttributeMaps()
Returns a list of child attribute map items.- Returns:
- List of child AttributeMapItem items
- Since:
- 7.0
-
-