Class MatchConditionVisitor
- java.lang.Object
-
- com.aquima.interactions.mapping.impl.MatchConditionVisitor
-
- All Implemented Interfaces:
IMatchConditionVisitor
public class MatchConditionVisitor extends Object implements IMatchConditionVisitor
Internal visitor to gather all match condition.- Since:
- 7.1
- Author:
- Jon van Leuven
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MatchConditionVisitor(IExpressionParser sourceParser, IExpressionParser targetParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMatchCondition(String sourceExpression, MatchConditionOperator operator, String targetExpression)
The iterate method should invoke this method with a valid datasource implementation for each source entity mapping.protected IInstanceMatchCondition[]
getMatchConditions()
-
-
-
Constructor Detail
-
MatchConditionVisitor
protected MatchConditionVisitor(IExpressionParser sourceParser, IExpressionParser targetParser)
-
-
Method Detail
-
addMatchCondition
public void addMatchCondition(String sourceExpression, MatchConditionOperator operator, String targetExpression)
Description copied from interface:IMatchConditionVisitor
The iterate method should invoke this method with a valid datasource implementation for each source entity mapping.- Specified by:
addMatchCondition
in interfaceIMatchConditionVisitor
- Parameters:
sourceExpression
- The source expression, may not be null.operator
- The operator that is used to compare the source expression with the target expression, may not be null.targetExpression
- The target expression, may not be null.
-
getMatchConditions
protected IInstanceMatchCondition[] getMatchConditions()
-
-