Class SimpleCondition

All Implemented Interfaces:
Condition, QueryObject
Direct Known Subclasses:
Between, In, Like, Null

public abstract class SimpleCondition extends AbstractCondition
Abstract base class that represents simple condition.
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

    • SimpleCondition

      public SimpleCondition()
  • Method Details

    • not

      public final Condition not()
      NOT condition of condition query object.
      Returns:
      The condition
    • isNot

      public final boolean isNot()
      Does test result get inverted?
      Returns:
      true if test result gets inverted, false otherwise.
    • setNot

      public final void setNot(boolean not)
      Set if test result has to be inverted.
      Parameters:
      not - true if test result gets inverted, false otherwise.
    • getExpression

      public final Expression getExpression()
      Get expression to test.
      Returns:
      Expression to test.
    • setExpression

      public final void setExpression(Expression expression)
      Set expression to test.
      Parameters:
      expression - Expression to test.