Class Subtract

All Implemented Interfaces:
Expression, QueryObject

public final class Subtract extends CompoundExpression
Final class that represents subtract arithmetic expression.
Since:
1.3
Version:
$Revision: 7121 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Udai Gupta, Ralf Joachim
  • Constructor Details

    • Subtract

      public Subtract()
  • Method Details

    • getOperator

      protected String getOperator()
      Get operator of the compound expression.
      Specified by:
      getOperator in class CompoundExpression
      Returns:
      Operator of the compound expression.
    • subtract

      public Expression subtract(Expression expression)
      The method for Subtract ( - ) additive arithmetic expression of query objects.
      Specified by:
      subtract in interface Expression
      Overrides:
      subtract in class AbstractExpression
      Parameters:
      expression - The Expression value
      Returns:
      The Expression of query objects