Class StringConcatenationNode
- java.lang.Object
-
- de.gebit.integrity.operations.standard.operands.OperatorNode<java.lang.String,java.lang.String>
-
- de.gebit.integrity.operations.standard.operands.StringConcatenationNode
-
public class StringConcatenationNode extends OperatorNode<java.lang.String,java.lang.String>
Concatenates two strings.- Author:
- Rene Schneider - initial API and implementation
-
-
Constructor Summary
Constructors Constructor Description StringConcatenationNode(Operation anOperation, java.lang.Object aLeftOperand, java.lang.Object aRightOperand)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
evaluateInternal(java.lang.String aLeftOperand, java.lang.String aRightOperand)
Must be implemented by subclasses to implement the actual evaluation of this node.-
Methods inherited from class de.gebit.integrity.operations.standard.operands.OperatorNode
evaluate, getEvaluatedLeftOperand, getEvaluatedRightOperand
-
-
-
-
Constructor Detail
-
StringConcatenationNode
public StringConcatenationNode(Operation anOperation, java.lang.Object aLeftOperand, java.lang.Object aRightOperand)
Creates a new instance.- Parameters:
aLeftOperand
- the left operandaRightOperand
- the right operand
-
-
Method Detail
-
evaluateInternal
protected java.lang.Object evaluateInternal(java.lang.String aLeftOperand, java.lang.String aRightOperand)
Description copied from class:OperatorNode
Must be implemented by subclasses to implement the actual evaluation of this node. It will get evaluated and converted operands and needs to return the result of the evaluation.- Specified by:
evaluateInternal
in classOperatorNode<java.lang.String,java.lang.String>
- Parameters:
aLeftOperand
- the evaluated left operandaRightOperand
- the evaluated right operand- Returns:
- the result of the evaluation
-
-