Package com.ibm.di.config.base
Class BranchConditionImpl
- java.lang.Object
-
- com.ibm.di.config.base.BaseConfigurationImpl
-
- com.ibm.di.config.base.BranchConditionImpl
-
- All Implemented Interfaces:
BaseConfiguration,BranchCondition,MetamergeConfigChangeListener,java.io.Serializable
public class BranchConditionImpl extends BaseConfigurationImpl implements BranchCondition
Implementation of the configuration for a single condition in a BranchingConfig.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
-
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
-
Fields inherited from interface com.ibm.di.config.interfaces.BranchCondition
BRANCH_CONTAINS, BRANCH_ENDS_WITH, BRANCH_EQUALS, BRANCH_EXISTS, BRANCH_GT, BRANCH_GTE, BRANCH_HAS_VALUE, BRANCH_LT, BRANCH_LTE, BRANCH_STARTS_WITH
-
-
Constructor Summary
Constructors Constructor Description BranchConditionImpl()Default ConstructorBranchConditionImpl(java.lang.Object data)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCaseSensitive()java.lang.StringgetLeftHand()booleangetMatchAny()booleangetNegate()java.lang.StringgetOperator()java.lang.StringgetRightHand()voidsetCaseSensitive(boolean cs)Set whether the condition (e.g.voidsetLeftHand(java.lang.String str)Set the left-hand side of the conditional expression.voidsetMatchAny(boolean matchAny)Sets the match any flag.voidsetNegate(boolean negate)Set whether the condition is negated.voidsetOperator(java.lang.String str)Set the operator of the conditional expression, e.g.voidsetRightHand(java.lang.String str)Set the right-hand side of the conditional expression.-
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, detachFromParent, expandPropertyValue, expandPropertyValue, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getLongName, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseConfigListeners, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, performNotifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseConfigListeners, setUseListeners, setUserComment, size, toEntry, toString, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, 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, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
-
-
-
Method Detail
-
getLeftHand
public java.lang.String getLeftHand()
- Specified by:
getLeftHandin interfaceBranchCondition- Returns:
- The left-hand side of the conditional expression.
-
setLeftHand
public void setLeftHand(java.lang.String str)
Set the left-hand side of the conditional expression.- Specified by:
setLeftHandin interfaceBranchCondition- Parameters:
str- The left-hand side of the conditional expression.
-
getOperator
public java.lang.String getOperator()
- Specified by:
getOperatorin interfaceBranchCondition- Returns:
- The operator of the conditional expression, e.g.
BranchCondition.BRANCH_EQUALS.
-
setOperator
public void setOperator(java.lang.String str)
Set the operator of the conditional expression, e.g.BranchCondition.BRANCH_EQUALS.- Specified by:
setOperatorin interfaceBranchCondition- Parameters:
str- The name of the conditional operator.
-
getRightHand
public java.lang.String getRightHand()
- Specified by:
getRightHandin interfaceBranchCondition- Returns:
- The right-hand side of the conditional expression.
-
setRightHand
public void setRightHand(java.lang.String str)
Set the right-hand side of the conditional expression.- Specified by:
setRightHandin interfaceBranchCondition- Parameters:
str- The right-hand side of the conditional expression.
-
getCaseSensitive
public boolean getCaseSensitive()
- Specified by:
getCaseSensitivein interfaceBranchCondition- Returns:
- The case sensitivity flag.
-
setCaseSensitive
public void setCaseSensitive(boolean cs)
Set whether the condition (e.g. equality) is case sensitive.- Specified by:
setCaseSensitivein interfaceBranchCondition- Parameters:
cs- Whether the condition is case sensitive.
-
getNegate
public boolean getNegate()
- Specified by:
getNegatein interfaceBranchCondition- Returns:
- Whether the condition is negated.
-
setNegate
public void setNegate(boolean negate)
Set whether the condition is negated.- Specified by:
setNegatein interfaceBranchCondition- Parameters:
negate- Whether the condition is negated.
-
getMatchAny
public boolean getMatchAny()
- Specified by:
getMatchAnyin interfaceBranchCondition- Returns:
- The match any flag.
-
setMatchAny
public void setMatchAny(boolean matchAny)
Sets the match any flag.- Specified by:
setMatchAnyin interfaceBranchCondition- Parameters:
matchAny- The value of the match any flag.
-
-