Class BinaryExpression

java.lang.Object
org.apache.qpid.jms.selector.filter.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.
  • Field Details

  • Constructor Details

  • Method Details

    • getLeft

      public Expression getLeft()
    • getRight

      public Expression getRight()
    • toString

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

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

      public boolean equals(Object o)
      TODO: more efficient hashCode()
      Overrides:
      equals in class Object
      See Also:
    • getExpressionSymbol

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

      public void setRight(Expression expression)
      Parameters:
      expression - the RHS.
    • setLeft

      public void setLeft(Expression expression)
      Parameters:
      expression - the LHS