public class SplitterComponent extends DefaultDelegate
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegate| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name for this component.
|
static java.lang.String |
PROPKEY_SPLITTER_CONDITION
Property key name for the splitter condition property.
|
VARIABLE_COMPONENT_TYPE_NAME| Constructor and Description |
|---|
SplitterComponent(MapComponentOwner owner,
java.lang.String name)
Constructs a new persistent splitter component.
|
| Modifier and Type | Method and Description |
|---|---|
MapExpression |
getRemainderExpression()
Returns a SQL expression that represents the remainder of all the expressions
based on the output connector points of this splitter component.
|
MapExpression |
getSplitterCondition(MapConnectorPoint outputConnectorPoint)
Returns the SPLITTER_CONDITION property value for a specific output connector point.
|
boolean |
isNullSplitterCondition(MapConnectorPoint outputConnectorPoint)
Checks if the specific output connector point is null.
|
boolean |
isRemainder(MapConnectorPoint outputConnectorPoint)
Checks if the specific output connector point is set as the remainder.
|
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues) |
void |
setRemainder(MapConnectorPoint outputConnectorPoint,
boolean pIsRemainder)
Updates the IsRemainder indicator for the given
MapConnectorPoint. |
void |
setSplitterCondition(MapConnectorPoint outputConnectorPoint,
java.lang.String condition)
Sets the SPLITTER_CONDITION property text value for a specific output connector point.
|
void |
setSplitterCondition(MapConnectorPoint outputConnectorPoint,
java.lang.String condition,
boolean doValidate)
Sets the SPLITTER_CONDITION property text value for a specific output connector point.
|
customInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHint, setExecuteOnHintByStringpublic static final java.lang.String COMPONENT_TYPE_NAME
public static final java.lang.String PROPKEY_SPLITTER_CONDITION
public SplitterComponent(MapComponentOwner owner,
java.lang.String name)
throws MappingException,
AdapterException
owner - the component owner that will own the new splitter component.name - the name for the new component.MappingExceptionAdapterExceptionpublic MapExpression getSplitterCondition(MapConnectorPoint outputConnectorPoint) throws PropertyException
outputConnectorPoint - the output connector point related to the splitter conditionPropertyExceptionpublic void setSplitterCondition(MapConnectorPoint outputConnectorPoint, java.lang.String condition) throws MappingException
outputConnectorPoint - the output connector point related to the splitter conditioncondition - the expression text for the splitter conditionMappingExceptionpublic void setSplitterCondition(MapConnectorPoint outputConnectorPoint, java.lang.String condition, boolean doValidate) throws MappingException
outputConnectorPoint - the output connector point related to the splitter conditioncondition - the expression text for the splitter conditiondoValidate - true to validate the componentMappingExceptionpublic MapExpression getRemainderExpression() throws MappingException
MappingExceptionpublic boolean isRemainder(MapConnectorPoint outputConnectorPoint) throws PropertyException
outputConnectorPoint - the specific output connector point owned by the splitter componenttrue if the output connector point is set as the remainder; false otherwiseMappingExceptionPropertyExceptionjava.lang.IllegalArgumentExceptionpublic boolean isNullSplitterCondition(MapConnectorPoint outputConnectorPoint) throws PropertyException
outputConnectorPoint - the specific output connector point owned by the splitter componenttrue if the output connector point is null; false otherwisePropertyExceptionpublic void setRemainder(MapConnectorPoint outputConnectorPoint, boolean pIsRemainder) throws MappingException
MapConnectorPoint. There can be only zero or one remainder.outputConnectorPoint - the map connector point to updatepIsRemainder - the indicator valueMappingExceptionIllegalArgumentExpcetionpublic boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
isValidForTechnology in class DefaultDelegateMappingException