Class BinaryExpression

java.lang.Object
io.atlasmap.expression.internal.BinaryExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
ArithmeticExpression, ComparisonExpression, LogicExpression

public abstract class BinaryExpression extends Object implements Expression
An expression which performs an operation on two expression values.
Version:
$Revision: 1.2 $
  • Field Details

  • Constructor Details

  • Method Details

    • getLeft

      public Expression getLeft()
    • getRight

      public Expression getRight()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      TODO: more efficient hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getExpressionSymbol

      public abstract String getExpressionSymbol()
      Returns the symbol that represents this binary expression. For example, addition is represented by "+"
      Returns:
      expression symbol string
    • setRight

      public void setRight(Expression expression)
      Parameters:
      expression - right Expression
    • setLeft

      public void setLeft(Expression expression)
      Parameters:
      expression - left Expression