com.ibm.di.config.interfaces
Interface BranchCondition

All Superinterfaces:
BaseConfiguration, Serializable
All Known Implementing Classes:
BranchConditionImpl

public interface BranchCondition
extends BaseConfiguration

The configuration for a single BranchCondition in a BranchingConfig.

See Also:
BranchingConfig.

Field Summary
static String BRANCH_CONTAINS
          Condition operator.
static String BRANCH_ENDS_WITH
          Condition operator.
static String BRANCH_EQUALS
          Condition operator.
static String BRANCH_EXISTS
          Condition operator.
static String BRANCH_GT
          Condition operator.
static String BRANCH_GTE
          Condition operator.
static String BRANCH_HAS_VALUE
          Condition operator.
static String BRANCH_LT
          Condition operator.
static String BRANCH_LTE
          Condition operator.
static String BRANCH_STARTS_WITH
          Condition operator.
 
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
 boolean getCaseSensitive()
           
 String getLeftHand()
           
 boolean getMatchAny()
           
 boolean getNegate()
           
 String getOperator()
           
 String getRightHand()
           
 void setCaseSensitive(boolean cs)
          Set whether the condition (e.g.
 void setLeftHand(String str)
          Set the left-hand side of the conditional expression.
 void setMatchAny(boolean matchAny)
          Sets the match any flag.
 void setNegate(boolean negate)
          Set whether the condition is negated.
 void setOperator(String str)
          Set the operator of the conditional expression, e.g.
 void setRightHand(String str)
          Set the right-hand side of the conditional expression.
 
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, 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, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
 

Field Detail

BRANCH_EQUALS

static final String BRANCH_EQUALS
Condition operator. Both sides of the condition must be equal.

See Also:
Constant Field Values

BRANCH_CONTAINS

static final String BRANCH_CONTAINS
Condition operator. The left side must contain the right side.

See Also:
Constant Field Values

BRANCH_STARTS_WITH

static final String BRANCH_STARTS_WITH
Condition operator. The left side must start with the string specified by the right side.

See Also:
Constant Field Values

BRANCH_ENDS_WITH

static final String BRANCH_ENDS_WITH
Condition operator. The left side must end with the string specified by the right side.

See Also:
Constant Field Values

BRANCH_HAS_VALUE

static final String BRANCH_HAS_VALUE
Condition operator. The left side must resolve to an Attribute that contains the right side as a value.

See Also:
Constant Field Values

BRANCH_EXISTS

static final String BRANCH_EXISTS
Condition operator. The left side must exists. There is no right side for this operator.

See Also:
Constant Field Values

BRANCH_LT

static final String BRANCH_LT
Condition operator. The left side is less than the right side.

See Also:
Constant Field Values

BRANCH_LTE

static final String BRANCH_LTE
Condition operator. The left side is less than or equal to the right side.

See Also:
Constant Field Values

BRANCH_GT

static final String BRANCH_GT
Condition operator. The left side is greater than the right side.

See Also:
Constant Field Values

BRANCH_GTE

static final String BRANCH_GTE
Condition operator. The left side is greater than or equal to the right side.

See Also:
Constant Field Values
Method Detail

getLeftHand

String getLeftHand()
Returns:
The left-hand side of the conditional expression.

setLeftHand

void setLeftHand(String str)
Set the left-hand side of the conditional expression.

Parameters:
str - The left-hand side of the conditional expression.

getOperator

String getOperator()
Returns:
The operator of the conditional expression, e.g. BRANCH_EQUALS.

setOperator

void setOperator(String str)
Set the operator of the conditional expression, e.g. BRANCH_EQUALS.

Parameters:
str - The name of the conditional operator.

getRightHand

String getRightHand()
Returns:
The right-hand side of the conditional expression.

setRightHand

void setRightHand(String str)
Set the right-hand side of the conditional expression.

Parameters:
str - The right-hand side of the conditional expression.

getCaseSensitive

boolean getCaseSensitive()
Returns:
The case sensitivity flag.

setCaseSensitive

void setCaseSensitive(boolean cs)
Set whether the condition (e.g. equality) is case sensitive.

Parameters:
cs - Whether the condition is case sensitive.

getNegate

boolean getNegate()
Returns:
Whether the condition is negated.

setNegate

void setNegate(boolean negate)
Set whether the condition is negated.

Parameters:
negate - Whether the condition is negated.

getMatchAny

boolean getMatchAny()
Returns:
The match any flag.

setMatchAny

void setMatchAny(boolean matchAny)
Sets the match any flag.

Parameters:
matchAny - The value of the match any flag.